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

Unified Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 857213003: Refactor sudden termination (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Charlie's comments 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: content/browser/renderer_host/render_view_host_impl.h
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index cc071844bd28dc51f06c5ae3597bba28847975a5..84ea9426aebbc1394d04b31f0a0edf91f5a58983 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -252,11 +252,6 @@ class CONTENT_EXPORT RenderViewHostImpl
uint64 upload_position,
uint64 upload_size);
- bool SuddenTerminationAllowed() const;
- void set_sudden_termination_allowed(bool enabled) {
- sudden_termination_allowed_ = enabled;
- }
-
// RenderWidgetHost public overrides.
void Init() override;
void Shutdown() override;
@@ -438,9 +433,6 @@ class CONTENT_EXPORT RenderViewHostImpl
// See http://crbug.com/418265.
bool is_waiting_for_close_ack_;
- // True if the render view can be shut down suddenly.
- bool sudden_termination_allowed_;
-
// The termination status of the last render view that terminated.
base::TerminationStatus render_view_termination_status_;

Powered by Google App Engine
This is Rietveld 408576698