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

Unified Diff: Source/web/DevToolsEmulator.cpp

Issue 1288623004: Devtools: Remove continuous repainting feature (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 4 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
« no previous file with comments | « Source/devtools/protocol.json ('k') | Source/web/InspectorRenderingAgent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/DevToolsEmulator.cpp
diff --git a/Source/web/DevToolsEmulator.cpp b/Source/web/DevToolsEmulator.cpp
index 35f8783b7f6d49b26ec854c4a0bce8ecd7bca35f..0a43dd81c3189993659d69f4a2ac97dd5e74978e 100644
--- a/Source/web/DevToolsEmulator.cpp
+++ b/Source/web/DevToolsEmulator.cpp
@@ -167,7 +167,7 @@ void DevToolsEmulator::enableDeviceEmulation(const WebDeviceEmulationParams& par
if (!m_deviceMetricsEnabled) {
m_deviceMetricsEnabled = true;
m_webViewImpl->setBackgroundColorOverride(Color::darkGray);
- m_webViewImpl->updateShowFPSCounterAndContinuousPainting();
+ m_webViewImpl->updateShowFPSCounter();
}
m_webViewImpl->page()->settings().setDeviceScaleAdjustment(calculateDeviceScaleAdjustment(params.viewSize.width, params.viewSize.height, params.deviceScaleFactor));
@@ -192,7 +192,7 @@ void DevToolsEmulator::disableDeviceEmulation()
m_deviceMetricsEnabled = false;
m_webViewImpl->setBackgroundColorOverride(Color::transparent);
- m_webViewImpl->updateShowFPSCounterAndContinuousPainting();
+ m_webViewImpl->updateShowFPSCounter();
m_webViewImpl->page()->settings().setDeviceScaleAdjustment(m_embedderDeviceScaleAdjustment);
disableMobileEmulation();
m_webViewImpl->setCompositorDeviceScaleFactorOverride(0.f);
« no previous file with comments | « Source/devtools/protocol.json ('k') | Source/web/InspectorRenderingAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698