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

Unified Diff: third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp

Issue 2440213003: Minor clean up in transferToImageBitmap API (Closed)
Patch Set: Created 4 years, 2 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/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp
diff --git a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp
index b35ffa2c3ad31c1e7f0e6f57af726f79945c63cb..75ccc171d933bf10e3237dbb24d6b8e776308915 100644
--- a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp
+++ b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp
@@ -137,8 +137,7 @@ OffscreenCanvasRenderingContext2D::transferToStaticBitmapImage() {
return image;
}
-ImageBitmap* OffscreenCanvasRenderingContext2D::transferToImageBitmap(
- ExceptionState& exceptionState) {
+ImageBitmap* OffscreenCanvasRenderingContext2D::transferToImageBitmap() {
RefPtr<StaticBitmapImage> image = transferToStaticBitmapImage();
if (!image)
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698