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

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

Issue 2807923002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/graphics (Closed)
Patch Set: fix typo Created 3 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
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 "platform/wtf/Assertions.h" 7 #include "platform/wtf/Assertions.h"
8 8
9 namespace blink { 9 namespace blink {
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 return "caret"; 60 return "caret";
61 case kPaintInvalidationViewBackground: 61 case kPaintInvalidationViewBackground:
62 return "view background"; 62 return "view background";
63 case kPaintInvalidationDocumentMarkerChange: 63 case kPaintInvalidationDocumentMarkerChange:
64 return "DocumentMarker change"; 64 return "DocumentMarker change";
65 case kPaintInvalidationForTesting: 65 case kPaintInvalidationForTesting:
66 return "for testing"; 66 return "for testing";
67 case kPaintInvalidationDelayedFull: 67 case kPaintInvalidationDelayedFull:
68 return "delayed full"; 68 return "delayed full";
69 } 69 }
70 ASSERT_NOT_REACHED(); 70 NOTREACHED();
71 return ""; 71 return "";
72 } 72 }
73 73
74 std::ostream& operator<<(std::ostream& out, PaintInvalidationReason reason) { 74 std::ostream& operator<<(std::ostream& out, PaintInvalidationReason reason) {
75 return out << PaintInvalidationReasonToString(reason); 75 return out << PaintInvalidationReasonToString(reason);
76 } 76 }
77 77
78 } // namespace blink 78 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/LoggingCanvas.cpp ('k') | third_party/WebKit/Source/platform/graphics/Path.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698