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

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: 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
Index: Source/web/FrameLoaderClientImpl.cpp
diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp
index 99f88aa26698ba96a637475fe8bc2b7c4b01b405..254a15a28595c7848e1ca5080fdb1d2250fc0848 100644
--- a/Source/web/FrameLoaderClientImpl.cpp
+++ b/Source/web/FrameLoaderClientImpl.cpp
@@ -929,11 +929,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));
}
}

Powered by Google App Engine
This is Rietveld 408576698