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

Unified Diff: Source/platform/mac/LocalCurrentGraphicsContext.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/mac/LocalCurrentGraphicsContext.h ('k') | Source/platform/mac/ThemeMac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/mac/LocalCurrentGraphicsContext.mm
===================================================================
--- Source/platform/mac/LocalCurrentGraphicsContext.mm (revision 181329)
+++ Source/platform/mac/LocalCurrentGraphicsContext.mm (working copy)
@@ -19,7 +19,6 @@
#include "config.h"
#include "platform/mac/LocalCurrentGraphicsContext.h"
-#include "platform/mac/ThemeMac.h"
#include <AppKit/NSGraphicsContext.h>
#include "platform/graphics/GraphicsContext.h"
@@ -27,9 +26,9 @@
namespace blink {
-LocalCurrentGraphicsContext::LocalCurrentGraphicsContext(GraphicsContext* graphicsContext, IntRect dirtyRect)
+LocalCurrentGraphicsContext::LocalCurrentGraphicsContext(GraphicsContext* graphicsContext)
: m_didSetGraphicsContext(false)
- , m_skiaBitLocker(graphicsContext->canvas(), ThemeMac::inflateRectForAA(dirtyRect))
+ , m_skiaBitLocker(graphicsContext->canvas())
{
m_savedGraphicsContext = graphicsContext;
graphicsContext->save();
« no previous file with comments | « Source/platform/mac/LocalCurrentGraphicsContext.h ('k') | Source/platform/mac/ThemeMac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698