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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.h

Issue 1911273002: Don't restart the ImageQualityController timer unless it is already half over. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/WebViewImpl.h
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h
index 0518f169a67b21468270cc38e7142e407b3b87df..9f1bbe7627f209cf12a154fc341ef0a12bb3493b 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.h
+++ b/third_party/WebKit/Source/web/WebViewImpl.h
@@ -525,6 +525,8 @@ public:
bool isTransparent() const;
void setIsTransparent(bool value);
+ double lastFrameTimeMonotonic() const { return m_lastFrameTimeMonotonic; }
+
private:
InspectorOverlay* inspectorOverlay();
@@ -751,6 +753,8 @@ private:
// Manages the layer tree created for this page in Slimming Paint v2.
PaintArtifactCompositor m_paintArtifactCompositor;
+
+ double m_lastFrameTimeMonotonic;
};
DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.isWebView());

Powered by Google App Engine
This is Rietveld 408576698