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

Unified Diff: gpu/ipc/service/ca_layer_partial_damage_tree_mac.mm

Issue 1845563005: Refactor content/common/gpu into gpu/ipc/service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Privatize gpu/command_buffer/service dep on gpu/command_buffer/common:common_sources Created 4 years, 8 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: gpu/ipc/service/ca_layer_partial_damage_tree_mac.mm
diff --git a/content/common/gpu/ca_layer_partial_damage_tree_mac.mm b/gpu/ipc/service/ca_layer_partial_damage_tree_mac.mm
similarity index 98%
rename from content/common/gpu/ca_layer_partial_damage_tree_mac.mm
rename to gpu/ipc/service/ca_layer_partial_damage_tree_mac.mm
index f42738947a03d1c370368d94a2b71d6e864047fe..25cd39dd6561ac9ef4d6e7252a71b4ade73f55a7 100644
--- a/content/common/gpu/ca_layer_partial_damage_tree_mac.mm
+++ b/gpu/ipc/service/ca_layer_partial_damage_tree_mac.mm
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/common/gpu/ca_layer_partial_damage_tree_mac.h"
+#include "gpu/ipc/service/ca_layer_partial_damage_tree_mac.h"
#include "base/command_line.h"
#include "base/mac/scoped_nsobject.h"
@@ -15,7 +15,7 @@
-(void)setContentsChanged;
@end
-namespace content {
+namespace gpu {
namespace {
// When selecting a CALayer to re-use for partial damage, this is the maximum
@@ -284,4 +284,4 @@ void CALayerPartialDamageTree::CommitCALayers(
UpdateCALayers(superlayer, scale_factor);
}
-} // namespace content
+} // namespace gpu

Powered by Google App Engine
This is Rietveld 408576698