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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorCSSAgent.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/core/inspector/InspectorCSSAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
index de9995e67a792f67b96557734130d82dbb37b010..ff835e66449299095ec22f31d31fce02e6f51457 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
@@ -2234,7 +2234,7 @@ Response InspectorCSSAgent::getBackgroundColors(
Document& document = element->document();
bool isMainFrame = document.isInMainFrame();
bool foundOpaqueColor = false;
- if (isMainFrame && !view->isTransparent()) {
+ if (isMainFrame) {
// Start with the "default" page color (typically white).
Color baseBackgroundColor = view->baseBackgroundColor();
colors.push_back(view->baseBackgroundColor());

Powered by Google App Engine
This is Rietveld 408576698