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

Unified Diff: Source/platform/mac/LocalCurrentGraphicsContext.h

Issue 528413002: Revert 181330 "Revert 180822 "Specify clip rects when drawing Ma..." (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/core/rendering/RenderThemeChromiumMac.mm ('k') | Source/platform/mac/LocalCurrentGraphicsContext.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/mac/LocalCurrentGraphicsContext.h
===================================================================
--- Source/platform/mac/LocalCurrentGraphicsContext.h (revision 181330)
+++ Source/platform/mac/LocalCurrentGraphicsContext.h (working copy)
@@ -33,10 +33,11 @@
class PLATFORM_EXPORT LocalCurrentGraphicsContext {
WTF_MAKE_NONCOPYABLE(LocalCurrentGraphicsContext);
public:
- LocalCurrentGraphicsContext(GraphicsContext* graphicsContext);
+ LocalCurrentGraphicsContext(GraphicsContext*, IntRect clipRect);
~LocalCurrentGraphicsContext();
CGContextRef cgContext();
private:
+
GraphicsContext* m_savedGraphicsContext;
NSGraphicsContext* m_savedNSGraphicsContext;
bool m_didSetGraphicsContext;
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumMac.mm ('k') | Source/platform/mac/LocalCurrentGraphicsContext.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698