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

Side by Side Diff: Source/platform/graphics/paint/DisplayItem.cpp

Issue 1312493007: Fix table cell background caching issue about interest rect (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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
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 "platform/graphics/paint/DisplayItem.h" 6 #include "platform/graphics/paint/DisplayItem.h"
7 7
8 namespace blink { 8 namespace blink {
9 9
10 struct SameSizeAsDisplayItem { 10 struct SameSizeAsDisplayItem {
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 DEBUG_STRING_CASE(ScrollbarForwardButtonEnd); 98 DEBUG_STRING_CASE(ScrollbarForwardButtonEnd);
99 DEBUG_STRING_CASE(ScrollbarForwardButtonStart); 99 DEBUG_STRING_CASE(ScrollbarForwardButtonStart);
100 DEBUG_STRING_CASE(ScrollbarForwardTrack); 100 DEBUG_STRING_CASE(ScrollbarForwardTrack);
101 DEBUG_STRING_CASE(ScrollbarHorizontal); 101 DEBUG_STRING_CASE(ScrollbarHorizontal);
102 DEBUG_STRING_CASE(ScrollbarThumb); 102 DEBUG_STRING_CASE(ScrollbarThumb);
103 DEBUG_STRING_CASE(ScrollbarTickmarks); 103 DEBUG_STRING_CASE(ScrollbarTickmarks);
104 DEBUG_STRING_CASE(ScrollbarTrackBackground); 104 DEBUG_STRING_CASE(ScrollbarTrackBackground);
105 DEBUG_STRING_CASE(ScrollbarVertical); 105 DEBUG_STRING_CASE(ScrollbarVertical);
106 DEBUG_STRING_CASE(SelectionGap); 106 DEBUG_STRING_CASE(SelectionGap);
107 DEBUG_STRING_CASE(SelectionTint); 107 DEBUG_STRING_CASE(SelectionTint);
108 DEBUG_STRING_CASE(TableCellBackgroundFromContainers);
108 DEBUG_STRING_CASE(TableCellBackgroundFromSelfPaintingRow); 109 DEBUG_STRING_CASE(TableCellBackgroundFromSelfPaintingRow);
109 DEBUG_STRING_CASE(VideoBitmap); 110 DEBUG_STRING_CASE(VideoBitmap);
110 DEBUG_STRING_CASE(WebPlugin); 111 DEBUG_STRING_CASE(WebPlugin);
111 DEBUG_STRING_CASE(WebFont); 112 DEBUG_STRING_CASE(WebFont);
112 113
113 DEFAULT_CASE; 114 DEFAULT_CASE;
114 } 115 }
115 } 116 }
116 117
117 static WTF::String drawingTypeAsDebugString(DisplayItem::Type type) 118 static WTF::String drawingTypeAsDebugString(DisplayItem::Type type)
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 stringBuilder.append('"'); 226 stringBuilder.append('"');
226 if (m_skippedCache) 227 if (m_skippedCache)
227 stringBuilder.append(", skippedCache: true"); 228 stringBuilder.append(", skippedCache: true");
228 if (m_scope) 229 if (m_scope)
229 stringBuilder.append(String::format(", scope: %d", m_scope)); 230 stringBuilder.append(String::format(", scope: %d", m_scope));
230 } 231 }
231 232
232 #endif 233 #endif
233 234
234 } // namespace blink 235 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698