| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index b809f05932b0600c34a375563b90e8478061b572..5b90681d7c5e2f18cddd4ec884e9fe8417022725 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -1834,7 +1834,7 @@ void WebViewImpl::paint(WebCanvas* canvas, const WebRect& rect, PaintOptions opt
|
| FrameView* view = page()->mainFrame()->view();
|
| PaintBehavior oldPaintBehavior = view->paintBehavior();
|
| if (isAcceleratedCompositingActive()) {
|
| - ASSERT(option == ForceSoftwareRenderingAndIgnoreGPUResidentContent);
|
| + ASSERT(option == ForceSoftwareRenderingAndIgnoreGPUResidentContent);
|
| view->setPaintBehavior(oldPaintBehavior | PaintBehaviorFlattenCompositingLayers);
|
| }
|
|
|
| @@ -1846,7 +1846,7 @@ void WebViewImpl::paint(WebCanvas* canvas, const WebRect& rect, PaintOptions opt
|
| WebKit::Platform::current()->histogramCustomCounts("Renderer4.SoftwarePaintMegapixPerSecond", pixelsPerSec / 1000000, 10, 210, 30);
|
|
|
| if (isAcceleratedCompositingActive()) {
|
| - ASSERT(option == ForceSoftwareRenderingAndIgnoreGPUResidentContent);
|
| + ASSERT(option == ForceSoftwareRenderingAndIgnoreGPUResidentContent);
|
| view->setPaintBehavior(oldPaintBehavior);
|
| }
|
| }
|
|
|