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

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

Issue 2699463004: Fix gradient background invalidation when HTML size changes (Closed)
Patch Set: - Created 3 years, 10 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 case PaintInvalidationLayoutObjectInsertion: 51 case PaintInvalidationLayoutObjectInsertion:
52 return "layoutObject insertion"; 52 return "layoutObject insertion";
53 case PaintInvalidationLayoutObjectRemoval: 53 case PaintInvalidationLayoutObjectRemoval:
54 return "layoutObject removal"; 54 return "layoutObject removal";
55 case PaintInvalidationSVGResourceChange: 55 case PaintInvalidationSVGResourceChange:
56 return "SVG resource change"; 56 return "SVG resource change";
57 case PaintInvalidationBackgroundOnScrollingContentsLayer: 57 case PaintInvalidationBackgroundOnScrollingContentsLayer:
58 return "background on scrolling contents layer"; 58 return "background on scrolling contents layer";
59 case PaintInvalidationCaret: 59 case PaintInvalidationCaret:
60 return "caret"; 60 return "caret";
61 case PaintInvalidationViewBackground:
62 return "view background";
61 case PaintInvalidationForTesting: 63 case PaintInvalidationForTesting:
62 return "for testing"; 64 return "for testing";
63 case PaintInvalidationDelayedFull: 65 case PaintInvalidationDelayedFull:
64 return "delayed full"; 66 return "delayed full";
65 } 67 }
66 ASSERT_NOT_REACHED(); 68 ASSERT_NOT_REACHED();
67 return ""; 69 return "";
68 } 70 }
69 71
70 } // namespace blink 72 } // 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