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

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

Issue 1956583002: Clamp Mac theme painting to reasonable large bounds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Integrate feedback. Created 4 years, 7 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
Index: third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.h
diff --git a/third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.h b/third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.h
index 956d1792063cbb83c91a6ab85fd9bb865284322e..ee699a1d339fd3cb8ff80238cdce5af0cf40b796 100644
--- a/third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.h
+++ b/third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.h
@@ -36,9 +36,7 @@ class PLATFORM_EXPORT LocalCurrentGraphicsContext {
WTF_MAKE_NONCOPYABLE(LocalCurrentGraphicsContext);
public:
LocalCurrentGraphicsContext(GraphicsContext&, const IntRect& dirtyRect);
- // Allows specifying an interest rect to which we clip if slimming paint is enabled and performance would benefit.
- LocalCurrentGraphicsContext(GraphicsContext&, const IntRect* interestRect, const IntRect& dirtyRect);
- LocalCurrentGraphicsContext(SkCanvas*, float deviceScaleFactor, const IntRect* interestRect, const IntRect& dirtyRect);
+ LocalCurrentGraphicsContext(SkCanvas*, float deviceScaleFactor, const IntRect& dirtyRect);
~LocalCurrentGraphicsContext();
CGContextRef cgContext();
private:

Powered by Google App Engine
This is Rietveld 408576698