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

Unified Diff: Source/platform/graphics/ImageBuffer.cpp

Issue 402613006: Fixing 2D canvas invalidation region tracking. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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: Source/platform/graphics/ImageBuffer.cpp
diff --git a/Source/platform/graphics/ImageBuffer.cpp b/Source/platform/graphics/ImageBuffer.cpp
index f5eb85e735415ef9707a1b6dc70e5144a855bb3e..e8ee49e8031ee9b1cc80e4fc4abc0357f639bd5b 100644
--- a/Source/platform/graphics/ImageBuffer.cpp
+++ b/Source/platform/graphics/ImageBuffer.cpp
@@ -123,6 +123,12 @@ void ImageBuffer::notifySurfaceInvalid()
m_client->notifySurfaceInvalid();
}
+void ImageBuffer::didPresent()
Stephen White 2014/07/17 15:28:19 It seems unfortunate that ImageBuffer has all this
+{
+ if (m_client)
+ m_client->didPresent();
+}
+
static SkBitmap deepSkBitmapCopy(const SkBitmap& bitmap)
{
SkBitmap tmp;

Powered by Google App Engine
This is Rietveld 408576698