Index: cc/resources/picture_layer_tiling.h |
diff --git a/cc/resources/picture_layer_tiling.h b/cc/resources/picture_layer_tiling.h |
index c9672c913bf49f47d29656642df86b8d2cddefa0..65e7ee0e3f90250c0194a0e6ce5f45aaaddfdab8 100644 |
--- a/cc/resources/picture_layer_tiling.h |
+++ b/cc/resources/picture_layer_tiling.h |
@@ -24,13 +24,7 @@ namespace base { |
namespace trace_event { |
class TracedValue; |
} |
- |
-// TODO(ssid): remove these aliases after the tracing clients are moved to the |
-// new trace_event namespace. See crbug.com/451032. ETA: March 2015 |
-namespace debug { |
-using ::base::trace_event::TracedValue; |
} |
-} // namespace base |
namespace cc { |
@@ -66,6 +60,10 @@ class CC_EXPORT PictureLayerTiling { |
~PictureLayerTiling(); |
+ static float CalculateSoonBorderDistance( |
+ const gfx::Rect& visible_rect_in_content_space, |
+ float content_to_screen_scale); |
+ |
// Create a tiling with no tiles. CreateTile() must be called to add some. |
static scoped_ptr<PictureLayerTiling> Create( |
float contents_scale, |
@@ -214,7 +212,7 @@ class CC_EXPORT PictureLayerTiling { |
const Occlusion& occlusion_in_layer_space); |
void GetAllTilesForTracing(std::set<const Tile*>* tiles) const; |
- void AsValueInto(base::debug::TracedValue* array) const; |
+ void AsValueInto(base::trace_event::TracedValue* array) const; |
size_t GPUMemoryUsageInBytes() const; |
struct RectExpansionCache { |