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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/PaintInvalidationReason.cpp

Issue 1950573003: Improve handling of PaintInvalidationLayer (renamed to PaintInvalidationSubtree) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@LocationChange
Patch Set: Created 4 years, 7 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 | « third_party/WebKit/Source/platform/graphics/PaintInvalidationReason.h ('k') | no next file » | 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 "platform/graphics/PaintInvalidationReason.h" 5 #include "platform/graphics/PaintInvalidationReason.h"
6 6
7 #include "wtf/Assertions.h" 7 #include "wtf/Assertions.h"
8 8
9 namespace blink { 9 namespace blink {
10 10
(...skipping 29 matching lines...) Expand all
40 case PaintInvalidationBecameVisible: 40 case PaintInvalidationBecameVisible:
41 return "became visible"; 41 return "became visible";
42 case PaintInvalidationBecameInvisible: 42 case PaintInvalidationBecameInvisible:
43 return "became invisible"; 43 return "became invisible";
44 case PaintInvalidationScroll: 44 case PaintInvalidationScroll:
45 return "scroll"; 45 return "scroll";
46 case PaintInvalidationSelection: 46 case PaintInvalidationSelection:
47 return "selection"; 47 return "selection";
48 case PaintInvalidationOutline: 48 case PaintInvalidationOutline:
49 return "outline"; 49 return "outline";
50 case PaintInvalidationLayer: 50 case PaintInvalidationSubtree:
51 return "layer"; 51 return "subtree";
52 case PaintInvalidationLayoutObjectInsertion: 52 case PaintInvalidationLayoutObjectInsertion:
53 return "layoutObject insertion"; 53 return "layoutObject insertion";
54 case PaintInvalidationLayoutObjectRemoval: 54 case PaintInvalidationLayoutObjectRemoval:
55 return "layoutObject removal"; 55 return "layoutObject removal";
56 case PaintInvalidationSVGResourceChange: 56 case PaintInvalidationSVGResourceChange:
57 return "SVG resource change"; 57 return "SVG resource change";
58 case PaintInvalidationDelayedFull: 58 case PaintInvalidationDelayedFull:
59 return "delayed full"; 59 return "delayed full";
60 } 60 }
61 ASSERT_NOT_REACHED(); 61 ASSERT_NOT_REACHED();
62 return ""; 62 return "";
63 } 63 }
64 64
65 } // namespace blink 65 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/PaintInvalidationReason.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698