Title: [277072] trunk/Source/WebCore
- Revision
- 277072
- Author
- [email protected]
- Date
- 2021-05-06 00:45:51 -0700 (Thu, 06 May 2021)
Log Message
Make DisplayList::dump print out the display list contents
https://bugs.webkit.org/show_bug.cgi?id=225431
Reviewed by Simon Fraser.
* platform/graphics/displaylists/DisplayList.cpp:
(WebCore::DisplayList::DisplayList::description const):
(WebCore::DisplayList::operator<<): This needs to move so that
argument-dependent lookup for the operator<< call in description()
works.
* platform/graphics/displaylists/DisplayList.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (277071 => 277072)
--- trunk/Source/WebCore/ChangeLog 2021-05-06 07:36:29 UTC (rev 277071)
+++ trunk/Source/WebCore/ChangeLog 2021-05-06 07:45:51 UTC (rev 277072)
@@ -1,3 +1,17 @@
+2021-05-06 Cameron McCormack <[email protected]>
+
+ Make DisplayList::dump print out the display list contents
+ https://bugs.webkit.org/show_bug.cgi?id=225431
+
+ Reviewed by Simon Fraser.
+
+ * platform/graphics/displaylists/DisplayList.cpp:
+ (WebCore::DisplayList::DisplayList::description const):
+ (WebCore::DisplayList::operator<<): This needs to move so that
+ argument-dependent lookup for the operator<< call in description()
+ works.
+ * platform/graphics/displaylists/DisplayList.h:
+
2021-05-06 Tim Nguyen <[email protected]>
[mediaqueries] Remove "on-demand" value for any-hover/hover & "forced" value for prefers-contrast
Modified: trunk/Source/WebCore/platform/graphics/displaylists/DisplayList.cpp (277071 => 277072)
--- trunk/Source/WebCore/platform/graphics/displaylists/DisplayList.cpp 2021-05-06 07:36:29 UTC (rev 277071)
+++ trunk/Source/WebCore/platform/graphics/displaylists/DisplayList.cpp 2021-05-06 07:45:51 UTC (rev 277072)
@@ -41,7 +41,7 @@
WTF::CString DisplayList::description() const
{
TextStream ts;
- ts << this;
+ ts << *this;
return ts.release().utf8();
}
@@ -345,12 +345,12 @@
return { *this, Iterator::ImmediatelyMoveToEnd::Yes };
}
-} // namespace DisplayList
-
-TextStream& operator<<(TextStream& ts, const DisplayList::DisplayList& displayList)
+TextStream& operator<<(TextStream& ts, const DisplayList& displayList)
{
displayList.dump(ts);
return ts;
}
+} // namespace DisplayList
+
} // namespace WebCore
Modified: trunk/Source/WebCore/platform/graphics/displaylists/DisplayList.h (277071 => 277072)
--- trunk/Source/WebCore/platform/graphics/displaylists/DisplayList.h 2021-05-06 07:36:29 UTC (rev 277071)
+++ trunk/Source/WebCore/platform/graphics/displaylists/DisplayList.h 2021-05-06 07:45:51 UTC (rev 277072)
@@ -148,8 +148,8 @@
itemBuffer().append<T>(std::forward<Args>(args)...);
}
+WTF::TextStream& operator<<(WTF::TextStream&, const DisplayList&);
+
} // DisplayList
-WTF::TextStream& operator<<(WTF::TextStream&, const DisplayList::DisplayList&);
-
} // WebCore
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes