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

Side by Side Diff: Source/core/rendering/RenderView.cpp

Issue 13959008: Remove NonCompositedContentHost (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Adding back LCD text workaround Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 // a transform, transparency layer, etc. 416 // a transform, transparency layer, etc.
417 Element* elt; 417 Element* elt;
418 for (elt = document()->ownerElement(); view() && elt && elt->renderer(); elt = elt->document()->ownerElement()) { 418 for (elt = document()->ownerElement(); view() && elt && elt->renderer(); elt = elt->document()->ownerElement()) {
419 RenderLayer* layer = elt->renderer()->enclosingLayer(); 419 RenderLayer* layer = elt->renderer()->enclosingLayer();
420 if (layer->cannotBlitToWindow()) { 420 if (layer->cannotBlitToWindow()) {
421 frameView()->setCannotBlitToWindow(); 421 frameView()->setCannotBlitToWindow();
422 break; 422 break;
423 } 423 }
424 424
425 if (RenderLayer* compositingLayer = layer->enclosingCompositingLayerForR epaint()) { 425 if (RenderLayer* compositingLayer = layer->enclosingCompositingLayerForR epaint()) {
426 if (!compositingLayer->backing()->paintsIntoWindow()) { 426 frameView()->setCannotBlitToWindow();
427 frameView()->setCannotBlitToWindow(); 427 break;
428 break;
429 }
430 } 428 }
431 } 429 }
432 430
433 if (document()->ownerElement() || !view()) 431 if (document()->ownerElement() || !view())
434 return; 432 return;
435 433
436 if (paintInfo.skipRootBackground()) 434 if (paintInfo.skipRootBackground())
437 return; 435 return;
438 436
439 bool rootFillsViewport = false; 437 bool rootFillsViewport = false;
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
1166 #endif 1164 #endif
1167 1165
1168 if (layoutState) 1166 if (layoutState)
1169 layoutState->m_isPaginated = m_fragmenting; 1167 layoutState->m_isPaginated = m_fragmenting;
1170 1168
1171 if (m_flowThreadState != RenderObject::NotInsideFlowThread) 1169 if (m_flowThreadState != RenderObject::NotInsideFlowThread)
1172 m_root->setFlowThreadStateIncludingDescendants(m_flowThreadState); 1170 m_root->setFlowThreadStateIncludingDescendants(m_flowThreadState);
1173 } 1171 }
1174 1172
1175 } // namespace WebCore 1173 } // namespace WebCore
OLDNEW
« Source/core/rendering/RenderLayerBacking.cpp ('K') | « Source/core/rendering/RenderObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698