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

Unified Diff: third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.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/core/offscreencanvas/OffscreenCanvas.cpp
diff --git a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp
index 816d7e968fb6a8d98423feab9b38795546a49659..5c814372f69d5ca6291eb085d97174f51656a436 100644
--- a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp
+++ b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.cpp
@@ -71,7 +71,7 @@ ImageBitmap* OffscreenCanvas::transferToImageBitmap(
"OffscreenCanvas with no context");
return nullptr;
}
- ImageBitmap* image = m_context->transferToImageBitmap(exceptionState);
+ ImageBitmap* image = m_context->transferToImageBitmap();
if (!image) {
// Undocumented exception (not in spec)
exceptionState.throwDOMException(V8Error, "Out of memory");

Powered by Google App Engine
This is Rietveld 408576698