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

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.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/frame/LocalFrame.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
index ecb7d462c1567369135d1db945f254f1d6c425fa..45980ee437058bb8b8373274cc479afdf2d9183b 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
@@ -270,7 +270,6 @@ void LocalFrame::setView(FrameView* view) {
void LocalFrame::createView(const IntSize& viewportSize,
const Color& backgroundColor,
- bool transparent,
ScrollbarMode horizontalScrollbarMode,
bool horizontalLock,
ScrollbarMode verticalScrollbarMode,
@@ -300,7 +299,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