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

Unified Diff: Source/web/FrameLoaderClientImpl.cpp

Issue 874283003: Have WebFrameClient::suddenTerminationDisablerChanged return a boolean (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed nits Created 5 years, 11 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 | « Source/web/FrameLoaderClientImpl.h ('k') | public/web/WebFrameClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/FrameLoaderClientImpl.cpp
diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp
index b217ab056b916af2c6e25ebd32a5a39e4e82e07c..ab89c55833256ae68f06e0dd4f509a058a886840 100644
--- a/Source/web/FrameLoaderClientImpl.cpp
+++ b/Source/web/FrameLoaderClientImpl.cpp
@@ -934,11 +934,11 @@ unsigned FrameLoaderClientImpl::backForwardLength()
return webview->client()->historyBackListCount() + 1 + webview->client()->historyForwardListCount();
}
-void FrameLoaderClientImpl::suddenTerminationDisablerChanged(int variation, SuddenTerminationDisablerType type)
+void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, SuddenTerminationDisablerType type)
{
if (m_webFrame->client()) {
m_webFrame->client()->suddenTerminationDisablerChanged(
- variation, static_cast<WebFrameClient::SuddenTerminationDisablerType>(type));
+ present, static_cast<WebFrameClient::SuddenTerminationDisablerType>(type));
}
}
« no previous file with comments | « Source/web/FrameLoaderClientImpl.h ('k') | public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698