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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorCSSAgent.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/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 b0c68eb5a607796e2269f86b3a422b92957b8f76..6b466af375f2da80dde872da1326691f0923eccb 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
@@ -2235,7 +2235,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