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

Unified Diff: third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp

Issue 2632593003: Notify listeners on OffScreenCanvas changes (Closed)
Patch Set: Created 3 years, 10 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/graphics/AcceleratedStaticBitmapImage.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp b/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp
index a1352386611c29fee34d6e92b20b0414590eebd8..85b97a25d66922372c1ffa3e1cab7cb7c6b1d698 100644
--- a/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp
+++ b/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp
@@ -91,6 +91,9 @@ void AcceleratedStaticBitmapImage::copyToTexture(
sk_sp<SkImage> AcceleratedStaticBitmapImage::imageForCurrentFrame(
const ColorBehavior& colorBehavior) {
+ // TODO(xlai): Refactor so that sync tokens are only used when
+ // |m_textureHolder| is MailboxTextureHolder.
+ // https://crbug.com/693229
// TODO(ccameron): This function should not ignore |colorBehavior|.
// https://crbug.com/672306
checkThread();

Powered by Google App Engine
This is Rietveld 408576698