Changeset 157736 in webkit
- Timestamp:
- Oct 21, 2013, 2:22:26 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r157735 r157736 1 2013-10-21 Simon Fraser <simon.fraser@apple.com> 2 3 Use pink layer borders for compositing layers with a contents layer 4 https://bugs.webkit.org/show_bug.cgi?id=123118 5 6 Reviewed by Dean Jackson. 7 8 With the existing layer border colors, it's not possible to distinguish an empty 9 layer from one with solid color, image or video contents. So use a pink color 10 for those. This makes it easier to diagnose bugs like 122784. 11 12 * platform/graphics/GraphicsLayer.cpp: 13 (WebCore::GraphicsLayer::getDebugBorderInfo): 14 1 15 2013-10-21 Jer Noble <jer.noble@apple.com> 2 16 -
trunk/Source/WebCore/platform/graphics/GraphicsLayer.cpp
r157653 r157736 368 368 return; 369 369 } 370 371 if (hasContentsLayer()) { 372 color = Color(255, 150, 255, 200); // non-painting layer with contents: pink 373 width = 2; 374 return; 375 } 370 376 371 377 if (masksToBounds()) { … … 374 380 return; 375 381 } 376 382 377 383 color = Color(255, 255, 0, 192); // container: yellow 378 384 width = 2;
Note:
See TracChangeset
for help on using the changeset viewer.