summaryrefslogtreecommitdiffstats
path: root/cc
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-04 05:44:51 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-04 05:44:51 +0000
commit805f083302155b1fec39b59bfb0eba64aadb37f8 (patch)
treea5563512f0c0c02fdc6d2b0c77b30652830c38c6 /cc
parentf69b851799e81a1f9524feb78140a55809bd45e8 (diff)
downloadchromium_src-805f083302155b1fec39b59bfb0eba64aadb37f8.zip
chromium_src-805f083302155b1fec39b59bfb0eba64aadb37f8.tar.gz
chromium_src-805f083302155b1fec39b59bfb0eba64aadb37f8.tar.bz2
cc: Remove the padding struct from LayerIterator.
This struct was added to keep the LayerIterator's size from changing during a refactor to rule out the refactor as a source of crashes. This just removes the useless padding. R=ajwong@chromium.org BUG=347241,345757 Review URL: https://codereview.chromium.org/185913002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254679 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc')
-rw-r--r--cc/layers/layer_iterator.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/cc/layers/layer_iterator.h b/cc/layers/layer_iterator.h
index 1e12ee4..f929eb6 100644
--- a/cc/layers/layer_iterator.h
+++ b/cc/layers/layer_iterator.h
@@ -98,13 +98,6 @@ template <typename LayerType> struct LayerIteratorPosition {
LayerType* current_layer;
};
-struct LayerIteratorPadding {
- // This struct has nothing in it! It exists to make the LayerIterator a bit
- // larger for debugging some weird behaviour when this CL previously landed.
- // See crbug.com/345757 for more details.
- void Foo() {}
-};
-
// An iterator class for walking over layers in the
// RenderSurface-Layer tree.
template <typename LayerType>
@@ -273,7 +266,6 @@ class LayerIterator {
return target_render_surface()->layer_list();
}
- LayerIteratorPadding padding_;
const LayerList* render_surface_layer_list_;
// The iterator's current position.