Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Unified Diff: Source/WebCore/platform/graphics/chromium/ScrollbarLayerChromium.cpp

Issue 10574034: Merge 120640 - [chromium] REGRESSION(r120346) ContentLayerPainter should clear rect to be painted (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/platform/graphics/chromium/OpaqueRectTrackingContentLayerDelegate.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/graphics/chromium/ScrollbarLayerChromium.cpp
===================================================================
--- Source/WebCore/platform/graphics/chromium/ScrollbarLayerChromium.cpp (revision 120770)
+++ Source/WebCore/platform/graphics/chromium/ScrollbarLayerChromium.cpp (working copy)
@@ -116,8 +116,6 @@
PlatformContextSkia platformContext(canvas);
platformContext.setDrawingToImageBuffer(true);
GraphicsContext context(&platformContext);
- context.clearRect(contentRect);
- context.clip(contentRect);
// The following is a simplification of ScrollbarThemeComposite::paint.
m_theme->paintScrollbarBackground(&context, m_scrollbar);
@@ -176,8 +174,6 @@
platformContext.setDrawingToImageBuffer(true);
GraphicsContext context(&platformContext);
- context.clearRect(contentRect);
-
// Consider the thumb to be at the origin when painting.
IntRect thumbRect = IntRect(IntPoint(), m_theme->thumbRect(m_scrollbar).size());
m_theme->paintThumb(&context, m_scrollbar, thumbRect);
« no previous file with comments | « Source/WebCore/platform/graphics/chromium/OpaqueRectTrackingContentLayerDelegate.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698