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

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

Issue 834173003: Change about caret painting in slimming paint mode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add tests 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/paint/ViewDisplayListTest.cpp ('k') | Source/core/rendering/PaintPhase.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 #include "core/rendering/PaintInfo.h" 6 #include "core/rendering/PaintInfo.h"
7 7
8 namespace blink { 8 namespace blink {
9 9
10 DisplayItem::Type PaintInfo::displayItemTypeForClipping() const 10 DisplayItem::Type PaintInfo::displayItemTypeForClipping() const
(...skipping 21 matching lines...) Expand all
32 return DisplayItem::ClipBoxTextClip; 32 return DisplayItem::ClipBoxTextClip;
33 break; 33 break;
34 case PaintPhaseClippingMask: 34 case PaintPhaseClippingMask:
35 return DisplayItem::ClipBoxClippingMask; 35 return DisplayItem::ClipBoxClippingMask;
36 break; 36 break;
37 case PaintPhaseChildBlockBackground: 37 case PaintPhaseChildBlockBackground:
38 case PaintPhaseOutline: 38 case PaintPhaseOutline:
39 case PaintPhaseBlockBackground: 39 case PaintPhaseBlockBackground:
40 case PaintPhaseSelfOutline: 40 case PaintPhaseSelfOutline:
41 case PaintPhaseMask: 41 case PaintPhaseMask:
42 case PaintPhaseCaret:
42 ASSERT_NOT_REACHED(); 43 ASSERT_NOT_REACHED();
43 } 44 }
44 // This should never happen. 45 // This should never happen.
45 return DisplayItem::ClipBoxForeground; 46 return DisplayItem::ClipBoxForeground;
46 } 47 }
47 48
48 } // namespace blink 49 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/paint/ViewDisplayListTest.cpp ('k') | Source/core/rendering/PaintPhase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698