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

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

Issue 2323573002: Revert of Allow canvases to be GPU-accelerated in Workers (Closed)
Patch Set: Created 4 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
Index: third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp
index 1f813c6a7e910a1e064c2b85bdc274926f1e242d..187f3271ae8884e4b2a71c1df85d57568b719c17 100644
--- a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp
+++ b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp
@@ -20,7 +20,7 @@
if (!image)
return nullptr;
if (image->isTextureBacked())
- return AcceleratedStaticBitmapImage::createFromSharedContextImage(std::move(image));
+ return AcceleratedStaticBitmapImage::create(std::move(image));
return adoptRef(new StaticBitmapImage(std::move(image)));
}

Powered by Google App Engine
This is Rietveld 408576698