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

Unified Diff: third_party/WebKit/Source/web/ChromeClientImpl.cpp

Issue 2644653003: Make OffscreenCanvas animation in sync with its placeholder canvas's parent frame rate (Closed)
Patch Set: fix based on fsamuel's feedback Created 3 years, 11 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/web/ChromeClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
index 11d980e89a6250fd8cc4a10933d6ccef31805e9e..5c6a91915c284de4c03c415a2a96e870479e774e 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
@@ -51,6 +51,7 @@
#include "core/layout/compositing/CompositedSelection.h"
#include "core/loader/DocumentLoader.h"
#include "core/loader/FrameLoadRequest.h"
+#include "core/page/ChromeClient.h"
#include "core/page/Page.h"
#include "core/page/PopupOpeningObserver.h"
#include "modules/accessibility/AXObject.h"
@@ -928,6 +929,10 @@ bool ChromeClientImpl::shouldOpenModalDialogDuringPageDismissal(
return false;
}
+WebLayerTreeView* ChromeClientImpl::getWebLayerTreeView() {
+ return m_webView->layerTreeView();
+}
+
void ChromeClientImpl::setEventListenerProperties(
WebEventListenerClass eventClass,
WebEventListenerProperties properties) {

Powered by Google App Engine
This is Rietveld 408576698