| Index: third_party/WebKit/Source/web/WebViewImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| index 9faff29cc1d9fd8146e0e7018a8816800c5b7f8c..f4c2d45898327e2cfbb919c46a8bae7eaeacd3ab 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| @@ -432,11 +432,6 @@ WebViewImpl::WebViewImpl(WebViewClient* client,
|
| m_displayMode(WebDisplayModeBrowser),
|
| m_elasticOverscroll(FloatSize()),
|
| m_mutator(nullptr),
|
| - m_scheduler(wrapUnique(Platform::current()
|
| - ->currentThread()
|
| - ->scheduler()
|
| - ->createWebViewScheduler(this)
|
| - .release())),
|
| m_lastFrameTimeMonotonic(0),
|
| m_overrideCompositorVisibility(false) {
|
| Page::PageClients pageClients;
|
| @@ -461,12 +456,16 @@ WebViewImpl::WebViewImpl(WebViewClient* client,
|
| StorageNamespaceController::provideStorageNamespaceTo(*m_page,
|
| &m_storageClientImpl);
|
|
|
| + m_devToolsEmulator = DevToolsEmulator::create(this);
|
| +
|
| + m_scheduler =
|
| + Platform::current()->currentThread()->scheduler()->createWebViewScheduler(
|
| + this, settingsImpl());
|
| +
|
| setVisibilityState(visibilityState, true);
|
|
|
| initializeLayerTreeView();
|
|
|
| - m_devToolsEmulator = DevToolsEmulator::create(this);
|
| -
|
| allInstances().add(this);
|
|
|
| m_pageImportanceSignals.setObserver(client);
|
|
|