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

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.cpp

Issue 2060083002: LocalFrame::localLayerTreeAsText() ==> layerTreeAsText() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrame.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
index 2063a8ae59e687db771af5fb5785f5195019142c..68ff6e0e920b56189424e7e442f1b099973e9f43 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
@@ -463,27 +463,6 @@ LocalFrame* LocalFrame::localFrameRoot()
return curFrame;
}
-String LocalFrame::layerTreeAsText(LayerTreeFlags flags) const
-{
- TextStream textStream;
- textStream << localLayerTreeAsText(flags);
-
- for (Frame* child = tree().firstChild(); child; child = child->tree().traverseNext(this)) {
- if (!child->isLocalFrame())
- continue;
- String childLayerTree = toLocalFrame(child)->localLayerTreeAsText(flags);
- if (!childLayerTree.length())
- continue;
-
- textStream << "\n\n--------\nFrame: '";
- textStream << child->tree().uniqueName();
- textStream << "'\n--------\n";
- textStream << childLayerTree;
- }
-
- return textStream.release();
-}
-
void LocalFrame::setPrinting(bool printing, const FloatSize& pageSize, const FloatSize& originalPageSize, float maximumShrinkRatio)
{
// In setting printing, we should not validate resources already cached for the document.
@@ -751,7 +730,7 @@ void LocalFrame::removeSpellingMarkersUnderWords(const Vector<String>& words)
spellChecker().removeSpellingMarkersUnderWords(words);
}
-String LocalFrame::localLayerTreeAsText(unsigned flags) const
+String LocalFrame::layerTreeAsText(unsigned flags) const
{
if (contentLayoutItem().isNull())
return String();
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698