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

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

Issue 1140813005: Fix RenderWidgetHostViewAuraTest failure on devices with little memory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: A nit Created 5 years, 7 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 | « content/browser/renderer_host/render_widget_host_view_aura_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/renderer_frame_manager.h
diff --git a/content/browser/renderer_host/renderer_frame_manager.h b/content/browser/renderer_host/renderer_frame_manager.h
index 8a789ef22cc6d876dd432b5539cd7aac701d7840..1b1de045720d879e27713592b59bcce05fd8301a 100644
--- a/content/browser/renderer_host/renderer_frame_manager.h
+++ b/content/browser/renderer_host/renderer_frame_manager.h
@@ -41,6 +41,9 @@ class CONTENT_EXPORT RendererFrameManager {
size_t GetMaxNumberOfSavedFrames() const;
// For testing only
+ void set_max_number_of_saved_frames(size_t max_number_of_saved_frames) {
+ max_number_of_saved_frames_ = max_number_of_saved_frames;
+ }
void set_max_handles(float max_handles) { max_handles_ = max_handles; }
private:
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698