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

Unified Diff: third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp

Issue 2468263002: Handle exception when user call canvas.transferControlToOffscreen() twice (Closed)
Patch Set: Created 4 years, 1 month 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/html/HTMLCanvasElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
index 9366ebfe73b95b24ce071896b444d2144c4c7587..730a8977ba8abd2cf9976348464def9d321cf4c4 100644
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
@@ -1350,7 +1350,6 @@ String HTMLCanvasElement::getIdFromControl(const Element* element) {
}
bool HTMLCanvasElement::createSurfaceLayer() {
- DCHECK(!m_surfaceLayerBridge);
Justin Novosad 2016/11/02 20:00:11 I think this DCHECK should stay. It was probably
xlai (Olivia) 2016/11/02 20:07:50 Done.
mojom::blink::OffscreenCanvasSurfacePtr service;
Platform::current()->interfaceProvider()->getInterface(
mojo::GetProxy(&service));

Powered by Google App Engine
This is Rietveld 408576698