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

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

Issue 2715243004: [blink] Support (semi-)transparent background colors in WebView/Frame. (Closed)
Patch Set: add unit test for remote frame transparency 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 b1f9b61507775928ee541dd24630c90f1038ed09..cbfedf424a4312021749b9b7e8fdd7d3d994417f 100644
--- a/third_party/WebKit/Source/web/DevToolsEmulator.cpp
+++ b/third_party/WebKit/Source/web/DevToolsEmulator.cpp
@@ -244,7 +244,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