diff options
author | Steve Block <steveblock@google.com> | 2010-08-12 06:31:08 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-08-12 06:31:08 -0700 |
commit | d3b240ac2e4c7440dfc9557c64aae1697b273a27 (patch) | |
tree | 134ea2d4de6d493893ce6c1fe76ba931959c292f /WebCore/svg/graphics/SVGImage.cpp | |
parent | e80c61ff87d308386bced9f22ca0de2456ed5085 (diff) | |
parent | a2c82e9ac4062724c7ec50a65fe5d893b333a529 (diff) | |
download | external_webkit-d3b240ac2e4c7440dfc9557c64aae1697b273a27.zip external_webkit-d3b240ac2e4c7440dfc9557c64aae1697b273a27.tar.gz external_webkit-d3b240ac2e4c7440dfc9557c64aae1697b273a27.tar.bz2 |
Merge "Provide EmptyDeviceOrientationClient for use with SVGImage"
Diffstat (limited to 'WebCore/svg/graphics/SVGImage.cpp')
-rw-r--r-- | WebCore/svg/graphics/SVGImage.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/WebCore/svg/graphics/SVGImage.cpp b/WebCore/svg/graphics/SVGImage.cpp index fead316..ef9d87b 100644 --- a/WebCore/svg/graphics/SVGImage.cpp +++ b/WebCore/svg/graphics/SVGImage.cpp @@ -253,7 +253,11 @@ bool SVGImage::dataChanged(bool allDataReceived) #endif static InspectorClient* dummyInspectorClient = new EmptyInspectorClient; pageClients.inspectorClient = dummyInspectorClient; - +#if ENABLE(DEVICE_ORIENTATION) + static DeviceOrientationClient* dummyDeviceOrientationClient = new EmptyDeviceOrientationClient; + pageClients.deviceOrientationClient = dummyDeviceOrientationClient; +#endif + // FIXME: If this SVG ends up loading itself, we might leak the world. // The comment said that the Cache code does not know about CachedImages // holding Frames and won't know to break the cycle. But |