Index: content/browser/renderer_host/renderer_frame_manager.cc |
diff --git a/content/browser/renderer_host/renderer_frame_manager.cc b/content/browser/renderer_host/renderer_frame_manager.cc |
index 7650e32f461dd911e8fcd90ffd62b0d41718f044..e8944e4371845e723a5236da79f614a15e64b095 100644 |
--- a/content/browser/renderer_host/renderer_frame_manager.cc |
+++ b/content/browser/renderer_host/renderer_frame_manager.cc |
@@ -15,7 +15,7 @@ |
#include "base/memory/shared_memory.h" |
#include "base/sys_info.h" |
#include "build/build_config.h" |
-#include "content/common/host_shared_bitmap_manager.h" |
+#include "components/display_compositor/host_shared_bitmap_manager.h" |
#include "content/public/common/content_features.h" |
namespace content { |
@@ -135,8 +135,9 @@ RendererFrameManager::~RendererFrameManager() {} |
void RendererFrameManager::CullUnlockedFrames(size_t saved_frame_limit) { |
if (unlocked_frames_.size() + locked_frames_.size() > 0) { |
float handles_per_frame = |
- HostSharedBitmapManager::current()->AllocatedBitmapCount() * 1.0f / |
- (unlocked_frames_.size() + locked_frames_.size()); |
+ display_compositor::HostSharedBitmapManager::current() |
+ ->AllocatedBitmapCount() * |
+ 1.0f / (unlocked_frames_.size() + locked_frames_.size()); |
saved_frame_limit = std::max( |
1, |