Commit 15d92065 authored by pkotwicz@chromium.org's avatar pkotwicz@chromium.org

Remove forward declarations of unused ImageRepGdk and ImageRepCairo

BUG=None
TEST=None
TBR=rsesek

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272837 0039d316-1c4b-4281-b951-d872f2087c98
parent 3d4bce0e
......@@ -102,7 +102,6 @@ scoped_refptr<base::RefCountedMemory> Get1xPNGBytesFromImageSkia(
class ImageRepPNG;
class ImageRepSkia;
class ImageRepGdk;
class ImageRepCocoa;
class ImageRepCocoaTouch;
......@@ -697,11 +696,7 @@ void Image::SetSourceColorSpace(CGColorSpaceRef color_space) {
Image::RepresentationType Image::DefaultRepresentationType() const {
CHECK(storage_.get());
RepresentationType default_type = storage_->default_representation_type();
// The conversions above assume that the default representation type is never
// kImageRepCairo.
DCHECK_NE(default_type, kImageRepCairo);
return default_type;
return storage_->default_representation_type();
}
internal::ImageRep* Image::GetRepresentation(
......
......@@ -52,10 +52,8 @@ class ImageStorage;
class GFX_EXPORT Image {
public:
enum RepresentationType {
kImageRepGdk,
kImageRepCocoa,
kImageRepCocoaTouch,
kImageRepCairo,
kImageRepSkia,
kImageRepPNG,
};
......
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