Mark four tests flaky.

- web-animations-api/change-in-animation-frame.html [ Failure Pass ]
- compositing/plugins/invalidate_rect.html [ Failure Pass ]
- virtual/softwarecompositing/plugins/invalidate_rect.html [ Failure Pass ]
- svg/custom/js-late-pattern-and-object-creation.svg [ ImageOnlyFailure Pass ]

BUG=357437,357438,357439
TBR=enne@chromium.org

Review URL: https://codereview.chromium.org/216023002

git-svn-id: svn://svn.chromium.org/blink/trunk@170240 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Reset multipliers correctly when autosizing is turned off.

This lets us re-land http://crrev.com/208393008 without breaking
AwSettingsTest.testLayoutAlgorithmWithTwoViews.

Without http://crrev.com/208393008, style recalc would always reset the
autosizing multiplier to 1, so the bug in recalculateMultipliers was not
noticed.

BUG=353309,356960

Review URL: https://codereview.chromium.org/215063004

git-svn-id: svn://svn.chromium.org/blink/trunk@170241 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove RuntimeEnabledFeature for DirectWrite

Controlled by explicit API now, per
https://codereview.chromium.org/210243004 and must land after https://codereview.chromium.org/212953007/ .

R=eae@chromium.org, jamesr@chromium.org
BUG=333029

Review URL: https://codereview.chromium.org/213173003

git-svn-id: svn://svn.chromium.org/blink/trunk@170242 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Keep the user gesture when postMessage() across frames.

R=adamk@chromium.org
BUG=355658,178319,161068

Review URL: https://codereview.chromium.org/209363002

git-svn-id: svn://svn.chromium.org/blink/trunk@170243 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't call RenderObject::enclosingLayer on a null pointer

In C++, it's not legal to call member functions on objects that are null
pointers.

R=esprehn@chromium.org

Review URL: https://codereview.chromium.org/215773002

git-svn-id: svn://svn.chromium.org/blink/trunk@170245 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Prepare to move DatabaseContext to Oilpan heap.

We need to change
  HashMap<ExecutionContext*, RefPtr<DatabaseContext>>
to
  HashMap<ExecutionContext*, OwnPtr<Persistent<DatabaseContext>>>
Because we can't use PersistentHeapHashMap due to mutiple threads, and can't put
Persistent<> to HashMap directly.

BUG=347902

Review URL: https://codereview.chromium.org/215063005

git-svn-id: svn://svn.chromium.org/blink/trunk@170246 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix build when compiling with the clang plugin.

BUG=

Review URL: https://codereview.chromium.org/212983012

git-svn-id: svn://svn.chromium.org/blink/trunk@170247 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert of Revert of Make start/stop loading notifications per-frame (https://codereview.chromium.org/215533004/)

Reason for revert:
r170192 was not a culprit.


Original issue's description:
> Revert of Make start/stop loading notifications per-frame (https://codereview.chromium.org/183793002/)
> 
> Reason for revert:
> Possibly causing content_browsertests EndToEnd to fail.
> 
> See: http://build.chromium.org/p/chromium.webkit/builders/Linux%20Tests%20%28dbg%29/builds/2095/steps/content_browsertests/logs/stdio
> 
> Output:
> [20917:20917:0327/122353:3268961829:INFO:CONSOLE(0)] "Uncaught TypeError: Cannot convert undefined or null to object", source: http://127.0.0.1:34379/files/web_ui_mojo.html (0)
> [20917:20917:0327/122353:3269022437:INFO:CONSOLE(28)] "Uncaught TypeError: undefined is not a function", source: http://127.0.0.1:34379/files/web_ui_mojo.js (28)
> BrowserTestBase signal handler received SIGTERM. Backtrace:
> #0 0x000000a593be base::debug::StackTrace::StackTrace()
> #1 0x000002bfc17b content::(anonymous namespace)::DumpStackTraceSignalHandler()
> #2 0x7f9c3e4ab4a0 <unknown>
> #3 0x7f9c3e55da43 __poll
> #4 0x7f9c42aabff6 <unknown>
> #5 0x7f9c42aac124 g_main_context_iteration
> #6 0x000000aaaf5f base::MessagePumpGlib::RunWithDispatcher()
> #7 0x000000a8e802 base::RunLoop::Run()
> #8 0x00000058256e content::(anonymous namespace)::WebUIMojoTest_EndToEnd_Test::RunTestOnMainThread()
> 
> Original issue's description:
> > Make start/stop loading notifications per-frame
> > 
> > Also, make ProgressTracker a frame-level concept rather than a page-level concept and merge it with FrameLoader's FrameProgressTracker helper. Send per-frame progress change notifications accordingly.
> > 
> > This depends on https://codereview.chromium.org/180113003/ landing in chromium.
> > 
> > BUG=347643
> > 
> > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170192
> 
> TBR=abarth@chromium.org,japhet@chromium.org
> NOTREECHECKS=true
> NOTRY=true
> BUG=347643
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170218

TBR=abarth@chromium.org,japhet@chromium.org,enne@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=347643

Review URL: https://codereview.chromium.org/216083002

git-svn-id: svn://svn.chromium.org/blink/trunk@170248 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Enable style sharing for <option> and <optgroup>

This was attempted long ago but then reverted because it broke some tests
related to text transforms and disabled states [1]. Those tests don't seem
to fail anymore though and I can't think of any reason why sharing style
should change the rendering of RenderMenuList.

Enabling this makes http://jsfiddle.net/p4saV/1/ 56% faster where you have
5000 <option>'s and all of bootstrap's CSS.

[1] https://bugs.webkit.org/show_bug.cgi?id=88405

Review URL: https://codereview.chromium.org/215723002

git-svn-id: svn://svn.chromium.org/blink/trunk@170249 bbb929c8-8fbe-4397-9dbb-9b2b20218538