Commit 4ec8f9b0 authored by tedchoc's avatar tedchoc Committed by Commit bot

Remove no longer needed toolbar layer method.

All clients have switched to the new method.

BUG=461148

Review URL: https://codereview.chromium.org/996493002

Cr-Commit-Position: refs/heads/master@{#319757}
parent 6528761c
...@@ -63,17 +63,6 @@ void ToolbarLayer::PushResource( ...@@ -63,17 +63,6 @@ void ToolbarLayer::PushResource(
debug_layer_->RemoveFromParent(); debug_layer_->RemoveFromParent();
} }
void ToolbarLayer::PushResource(ui::ResourceManager::Resource* resource,
bool anonymize,
bool anonymize_component_is_incognito,
bool show_debug) {
PushResource(resource,
nullptr,
anonymize,
anonymize_component_is_incognito,
show_debug);
}
ToolbarLayer::ToolbarLayer() ToolbarLayer::ToolbarLayer()
: layer_(cc::Layer::Create()), : layer_(cc::Layer::Create()),
bitmap_layer_(cc::UIResourceLayer::Create()), bitmap_layer_(cc::UIResourceLayer::Create()),
......
...@@ -33,13 +33,6 @@ class ToolbarLayer : public Layer { ...@@ -33,13 +33,6 @@ class ToolbarLayer : public Layer {
bool anonymize_component_is_incognito, bool anonymize_component_is_incognito,
bool show_debug); bool show_debug);
// TODO(tedchoc): Remove after migrating downstream to signature that takes
// the progress_resource.
void PushResource(ui::ResourceManager::Resource* resource,
bool anonymize,
bool anonymize_component_is_incognito,
bool show_debug);
protected: protected:
ToolbarLayer(); ToolbarLayer();
~ToolbarLayer() override; ~ToolbarLayer() override;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment