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

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.cpp

Issue 2715243004: [blink] Support (semi-)transparent background colors in WebView/Frame. (Closed)
Patch Set: address comments 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/frame/LocalFrame.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
index 429c13655b0cf65c691e469753ecbc0f954cd5cb..b11a12decbfe9bb60726160c3be46191c6e08ec3 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
@@ -285,7 +285,6 @@ void LocalFrame::setView(FrameView* view) {
void LocalFrame::createView(const IntSize& viewportSize,
const Color& backgroundColor,
- bool transparent,
ScrollbarMode horizontalScrollbarMode,
bool horizontalLock,
ScrollbarMode verticalScrollbarMode,
@@ -315,7 +314,7 @@ void LocalFrame::createView(const IntSize& viewportSize,
setView(frameView);
- frameView->updateBackgroundRecursively(backgroundColor, transparent);
+ frameView->updateBaseBackgroundColorRecursively(backgroundColor);
if (isLocalRoot)
frameView->setParentVisible(true);

Powered by Google App Engine
This is Rietveld 408576698