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

Unified Diff: Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm

Issue 536973002: Revert 180822 "Specify clip rects when drawing Mac native widgets" (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/2145/
Patch Set: Created 6 years, 3 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/platform/scroll/ScrollbarThemeMacNonOverlayAPI.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm
===================================================================
--- Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm (revision 181329)
+++ Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm (working copy)
@@ -89,7 +89,7 @@
GraphicsContextStateSaver stateSaver(*context);
context->translate(rect.x(), rect.y());
- LocalCurrentGraphicsContext localContext(context, IntRect(IntPoint(), rect.size()));
+ LocalCurrentGraphicsContext localContext(context);
CGRect frameRect = scrollbar->frameRect();
ScrollbarPainter scrollbarPainter = painterForScrollbar(scrollbar);
@@ -105,7 +105,7 @@
GraphicsContextStateSaver stateSaver(*context);
context->translate(rect.x(), rect.y());
- LocalCurrentGraphicsContext localContext(context, IntRect(IntPoint(), rect.size()));
+ LocalCurrentGraphicsContext localContext(context);
ScrollbarPainter scrollbarPainter = painterForScrollbar(scrollbar);
[scrollbarPainter setEnabled:scrollbar->enabled()];
« no previous file with comments | « Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698