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

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

Issue 2798823002: Rewrite references to "wtf/" to "platform/wtf/" in platform/graphics. (Closed)
Patch Set: 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 "wtf/Assertions.h" 7 #include "platform/wtf/Assertions.h"
8 8
9 namespace blink { 9 namespace blink {
10 10
11 const char* paintInvalidationReasonToString(PaintInvalidationReason reason) { 11 const char* paintInvalidationReasonToString(PaintInvalidationReason reason) {
12 switch (reason) { 12 switch (reason) {
13 case PaintInvalidationNone: 13 case PaintInvalidationNone:
14 return "none"; 14 return "none";
15 case PaintInvalidationIncremental: 15 case PaintInvalidationIncremental:
16 return "incremental"; 16 return "incremental";
17 case PaintInvalidationRectangle: 17 case PaintInvalidationRectangle:
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 } 69 }
70 ASSERT_NOT_REACHED(); 70 ASSERT_NOT_REACHED();
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

Powered by Google App Engine
This is Rietveld 408576698