Index: third_party/WebKit/Source/platform/graphics/FrameData.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/FrameData.cpp b/third_party/WebKit/Source/platform/graphics/FrameData.cpp |
index 8f3f36b0f4e462b107d9d7f69f7ae715e67c312c..473af7358fbccebf51cabd82e0163801d976b81e 100644 |
--- a/third_party/WebKit/Source/platform/graphics/FrameData.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/FrameData.cpp |
@@ -44,19 +44,13 @@ FrameData::~FrameData() |
clear(true); |
} |
-bool FrameData::clear(bool clearMetadata) |
+void FrameData::clear(bool clearMetadata) |
{ |
if (clearMetadata) |
m_haveMetadata = false; |
m_orientation = DefaultImageOrientation; |
m_frameBytes = 0; |
- |
- if (m_frame) { |
- m_frame.clear(); |
- return true; |
- } |
- return false; |
} |
} // namespace blink |