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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp

Issue 2119283004: Remove unused helpers to selectively traverse through only local frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/web/WebLocalFrameImpl.h ('k') | third_party/WebKit/public/web/WebLocalFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
index 68290988d0e60bcbfdc241d3de062bb1099d008b..73a6abcdd1837bf0846c1f7c93da395032d2e991 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -1817,22 +1817,6 @@ WebLocalFrameImpl* WebLocalFrameImpl::localRoot()
return localRoot;
}
-WebLocalFrame* WebLocalFrameImpl::traversePreviousLocal(bool wrap) const
-{
- WebFrame* previousLocalFrame = this->traversePrevious(wrap);
- while (previousLocalFrame && !previousLocalFrame->isWebLocalFrame())
- previousLocalFrame = previousLocalFrame->traversePrevious(wrap);
- return previousLocalFrame ? previousLocalFrame->toWebLocalFrame() : nullptr;
-}
-
-WebLocalFrame* WebLocalFrameImpl::traverseNextLocal(bool wrap) const
-{
- WebFrame* nextLocalFrame = this->traverseNext(wrap);
- while (nextLocalFrame && !nextLocalFrame->isWebLocalFrame())
- nextLocalFrame = nextLocalFrame->traverseNext(wrap);
- return nextLocalFrame ? nextLocalFrame->toWebLocalFrame() : nullptr;
-}
-
void WebLocalFrameImpl::sendPings(const WebURL& destinationURL)
{
DCHECK(frame());
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.h ('k') | third_party/WebKit/public/web/WebLocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698