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

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

Issue 2715243004: [blink] Support (semi-)transparent background colors in WebView/Frame. (Closed)
Patch Set: remove set/isTransparent from WebViewImpl and FrameView, use setBaseBackgroundColor instead Created 3 years, 9 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/DevToolsEmulator.cpp
diff --git a/third_party/WebKit/Source/web/DevToolsEmulator.cpp b/third_party/WebKit/Source/web/DevToolsEmulator.cpp
index b3c9f0540c9aea97bf0e827c19da4e5f7fde0fb1..1b841483b7a5a2274c40b6c6d1a580112de9b549 100644
--- a/third_party/WebKit/Source/web/DevToolsEmulator.cpp
+++ b/third_party/WebKit/Source/web/DevToolsEmulator.cpp
@@ -245,7 +245,7 @@ void DevToolsEmulator::disableDeviceEmulation() {
memoryCache()->evictResources();
m_deviceMetricsEnabled = false;
- m_webViewImpl->setBackgroundColorOverride(Color::transparent);
+ m_webViewImpl->clearBackgroundColorOverride();
m_webViewImpl->page()->settings().setDeviceScaleAdjustment(
m_embedderDeviceScaleAdjustment);
disableMobileEmulation();

Powered by Google App Engine
This is Rietveld 408576698