diff --git a/image/SurfaceCache.h b/image/SurfaceCache.h index ef362ecb26d4..30a07723d5e3 100644 --- a/image/SurfaceCache.h +++ b/image/SurfaceCache.h @@ -74,7 +74,7 @@ public: } const IntSize& Size() const { return mSize; } - Maybe SVGContext() const { return mSVGContext; } + const Maybe& SVGContext() const { return mSVGContext; } PlaybackType Playback() const { return mPlayback; } SurfaceFlags Flags() const { return mFlags; }