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

Unified Diff: Source/web/WebFrame.cpp

Issue 628063003: Oilpan: fix (MSVC) build after r183241. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | public/web/WebFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebFrame.cpp
diff --git a/Source/web/WebFrame.cpp b/Source/web/WebFrame.cpp
index 64e4450f0252dca1b340ba690efa514c037fe54e..c11f2e11122518e8ec0030f07e42c33a4bc5db89 100644
--- a/Source/web/WebFrame.cpp
+++ b/Source/web/WebFrame.cpp
@@ -248,7 +248,7 @@ void WebFrame::traceFrames(Visitor* visitor, WebFrame* frame)
frame->m_openedFrameTracker->traceFrames(visitor);
}
-bool WebFrame::isAlive(Visitor* visitor, WebFrame* frame)
+bool WebFrame::isFrameAlive(Visitor* visitor, const WebFrame* frame)
{
if (!frame)
return true;
@@ -261,7 +261,7 @@ bool WebFrame::isAlive(Visitor* visitor, WebFrame* frame)
void WebFrame::clearWeakFrames(Visitor* visitor)
{
- if (!isAlive(visitor, m_opener))
+ if (!isFrameAlive(visitor, m_opener))
m_opener = nullptr;
}
#endif
« no previous file with comments | « no previous file | public/web/WebFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698