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

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

Issue 2588053003: Make OffscreenCanvas resizable (Closed)
Patch Set: fix Created 4 years 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 fbe421bc71978f52203a339ba876c9c3b362965e..b7aeac449231cfe0cefe9509d001011a4fc4ab22 100644
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
@@ -1408,7 +1408,7 @@ void HTMLCanvasElement::createLayer() {
m_surfaceLayerBridge->createSolidColorLayer();
}
-void HTMLCanvasElement::OnWebLayerReplaced() {
+void HTMLCanvasElement::OnWebLayerReplaced(int width, int height) {
Justin Novosad 2016/12/20 22:06:08 Revert
setNeedsCompositingUpdate();
}

Powered by Google App Engine
This is Rietveld 408576698