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

Unified Diff: Source/core/frame/FrameView.cpp

Issue 348833005: [DO NOT COMMIT] Random hacks to unblock work on replication. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More random hacks, including also dcheng's https://codereview.chromium.org/346403002 Created 6 years, 6 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
« no previous file with comments | « Source/core/frame/Frame.cpp ('k') | Source/core/page/FocusController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameView.cpp
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
index 790532e1c83eeda15c0d20373b9c3ff6063eddcf..28bb89269200b9136a642715d58b97a43150506f 100644
--- a/Source/core/frame/FrameView.cpp
+++ b/Source/core/frame/FrameView.cpp
@@ -115,7 +115,7 @@ FrameView::FrameView(LocalFrame* frame)
, m_postLayoutTasksTimer(this, &FrameView::postLayoutTimerFired)
, m_updateWidgetsTimer(this, &FrameView::updateWidgetsTimerFired)
, m_isTransparent(false)
- , m_baseBackgroundColor(Color::white)
+ , m_baseBackgroundColor(Color::gray)
, m_mediaType("screen")
, m_overflowStatusDirty(true)
, m_viewportRenderer(0)
@@ -1737,7 +1737,7 @@ HostWindow* FrameView::hostWindow() const
void FrameView::contentRectangleForPaintInvalidation(const IntRect& r)
{
ASSERT(paintInvalidationIsAllowed());
- ASSERT(!m_frame->owner());
+ //ASSERT(!m_frame->owner());
if (m_isTrackingPaintInvalidations) {
IntRect paintInvalidationRect = r;
@@ -1907,8 +1907,11 @@ bool FrameView::needsLayout() const
void FrameView::setNeedsLayout()
{
- if (RenderView* renderView = this->renderView())
+ printf("FrameView::setNeedsLayout\n");
+ if (RenderView* renderView = this->renderView()) {
+ printf("FrameView::setNeedsLayout: call renderView\n");
renderView->setNeedsLayout();
+ }
}
bool FrameView::isTransparent() const
« no previous file with comments | « Source/core/frame/Frame.cpp ('k') | Source/core/page/FocusController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698