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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageBuffer.h

Issue 1512803004: Use refs for GraphicsContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ScrollbarTheme
Patch Set: Created 5 years 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/graphics/ImageBuffer.h
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
index 41a0a957b338dc2c0528d86adb398ca5b28ae807..2dcad6e07260c246681196f304b19804f786fd2d 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
@@ -129,7 +129,7 @@ public:
PassRefPtr<SkImage> newSkImageSnapshot(AccelerationHint) const;
PassRefPtr<Image> newImageSnapshot(AccelerationHint = PreferNoAcceleration) const;
- void draw(GraphicsContext*, const FloatRect&, const FloatRect*, SkXfermode::Mode);
+ void draw(GraphicsContext&, const FloatRect&, const FloatRect*, SkXfermode::Mode);
private:
ImageBuffer(PassOwnPtr<ImageBufferSurface>);
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/Image.cpp ('k') | third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698