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

Side by Side Diff: sky/engine/core/rendering/RenderReplaced.cpp

Issue 856563006: Remove background obscuration checks. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « sky/engine/core/rendering/RenderObject.cpp ('k') | sky/engine/core/rendering/RenderView.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2000 Dirk Mueller (mueller@kde.org) 3 * Copyright (C) 2000 Dirk Mueller (mueller@kde.org)
4 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved.
5 * Copyright (C) Research In Motion Limited 2011-2012. All rights reserved. 5 * Copyright (C) Research In Motion Limited 2011-2012. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 ASSERT(needsLayout()); 70 ASSERT(needsLayout());
71 71
72 setHeight(minimumReplacedHeight()); 72 setHeight(minimumReplacedHeight());
73 73
74 updateLogicalWidth(); 74 updateLogicalWidth();
75 updateLogicalHeight(); 75 updateLogicalHeight();
76 76
77 m_overflow.clear(); 77 m_overflow.clear();
78 addVisualEffectOverflow(); 78 addVisualEffectOverflow();
79 updateLayerTransformAfterLayout(); 79 updateLayerTransformAfterLayout();
80 invalidateBackgroundObscurationStatus();
81 80
82 clearNeedsLayout(); 81 clearNeedsLayout();
83 } 82 }
84 83
85 void RenderReplaced::intrinsicSizeChanged() 84 void RenderReplaced::intrinsicSizeChanged()
86 { 85 {
87 m_intrinsicSize = IntSize(defaultWidth, defaultHeight); 86 m_intrinsicSize = IntSize(defaultWidth, defaultHeight);
88 setNeedsLayoutAndPrefWidthsRecalc(); 87 setNeedsLayoutAndPrefWidthsRecalc();
89 } 88 }
90 89
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 if (s == SelectionEnd) 483 if (s == SelectionEnd)
485 return selectionEnd == end; 484 return selectionEnd == end;
486 if (s == SelectionBoth) 485 if (s == SelectionBoth)
487 return selectionStart == 0 && selectionEnd == end; 486 return selectionStart == 0 && selectionEnd == end;
488 487
489 ASSERT(0); 488 ASSERT(0);
490 return false; 489 return false;
491 } 490 }
492 491
493 } 492 }
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderObject.cpp ('k') | sky/engine/core/rendering/RenderView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698