| 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 6471751f15075c0f5bd4e1595183a385b7552776..b021941978be5dfa32909045b1628ee475a2f717 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| @@ -113,6 +113,7 @@
|
| #include "platform/fonts/FontCache.h"
|
| #include "platform/graphics/Color.h"
|
| #include "platform/graphics/CompositorMutation.h"
|
| +#include "platform/graphics/CompositorMutatorClient.h"
|
| #include "platform/graphics/FirstPaintInvalidationTracking.h"
|
| #include "platform/graphics/GraphicsContext.h"
|
| #include "platform/graphics/Image.h"
|
| @@ -151,6 +152,7 @@
|
| #include "public/web/WebViewClient.h"
|
| #include "public/web/WebWindowFeatures.h"
|
| #include "web/CompositionUnderlineVectorBuilder.h"
|
| +#include "web/CompositorMutatorImpl.h"
|
| #include "web/ContextFeaturesClientImpl.h"
|
| #include "web/ContextMenuAllowedScope.h"
|
| #include "web/DatabaseClientImpl.h"
|
| @@ -4602,6 +4604,15 @@ void WebViewImpl::forceNextDrawingBufferCreationToFail()
|
| DrawingBuffer::forceNextDrawingBufferCreationToFail();
|
| }
|
|
|
| +CompositorProxyClient* WebViewImpl::createCompositorProxyClient()
|
| +{
|
| + if (!m_mutator.get()) {
|
| + m_mutator = CompositorMutatorImpl::create();
|
| + m_layerTreeView->setMutatorClient(m_mutator->client());
|
| + }
|
| + return m_mutator->createCompositorProxyClient();
|
| +}
|
| +
|
| void WebViewImpl::updatePageOverlays()
|
| {
|
| if (m_pageColorOverlay)
|
|
|