| Index: components/display_compositor/delegated_frame_evictor.cc
|
| diff --git a/content/browser/renderer_host/delegated_frame_evictor.cc b/components/display_compositor/delegated_frame_evictor.cc
|
| similarity index 81%
|
| rename from content/browser/renderer_host/delegated_frame_evictor.cc
|
| rename to components/display_compositor/delegated_frame_evictor.cc
|
| index 65ae48329323b638eac52fc7723e5beeced2c948..b0669a48a699a5f821fa1df08e019f0a0499256b 100644
|
| --- a/content/browser/renderer_host/delegated_frame_evictor.cc
|
| +++ b/components/display_compositor/delegated_frame_evictor.cc
|
| @@ -2,18 +2,19 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "content/browser/renderer_host/delegated_frame_evictor.h"
|
| +#include "components/display_compositor/delegated_frame_evictor.h"
|
|
|
| #include "base/logging.h"
|
|
|
| -namespace content {
|
| +namespace display_compositor {
|
|
|
| DelegatedFrameEvictor::DelegatedFrameEvictor(
|
| DelegatedFrameEvictorClient* client)
|
| - : client_(client), has_frame_(false), visible_(false) {
|
| -}
|
| + : client_(client), has_frame_(false), visible_(false) {}
|
|
|
| -DelegatedFrameEvictor::~DelegatedFrameEvictor() { DiscardedFrame(); }
|
| +DelegatedFrameEvictor::~DelegatedFrameEvictor() {
|
| + DiscardedFrame();
|
| +}
|
|
|
| void DelegatedFrameEvictor::SwappedFrame(bool visible) {
|
| visible_ = visible;
|
| @@ -53,4 +54,4 @@ void DelegatedFrameEvictor::EvictCurrentFrame() {
|
| client_->EvictDelegatedFrame();
|
| }
|
|
|
| -} // namespace content
|
| +} // namespace display_compositor
|
|
|