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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.cpp

Issue 1756763002: 2016-03-02T18:53:01 LayoutPosition Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-04-25T19:02:18 Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
index a7f6a849e5b5bb1e5ecbc8527ca5a74fa670fbe4..4f771510d547e74cd77ce749ac1dda13bf4edc0a 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
@@ -3654,6 +3654,18 @@ void LayoutObject::clearObjectPaintProperties()
objectPaintPropertiesMap().remove(this);
}
+std::ostream& operator<<(std::ostream& ostream, const LayoutObject& layoutObject)
+{
+ return ostream << layoutObject.decoratedName();
+}
+
+std::ostream& operator<<(std::ostream& ostream, LayoutObject* layoutObject)
+{
+ if (!layoutObject)
+ return ostream << "null";
+ return ostream << *layoutObject;
+}
+
} // namespace blink
#ifndef NDEBUG
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.h ('k') | third_party/WebKit/Source/core/layout/api/LineLayoutItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698