diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-05 14:34:32 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-05 14:34:32 -0800 |
commit | 635860845790a19bf50bbc51ba8fb66a96dde068 (patch) | |
tree | ef6ad9ff73a5b57f65249d4232a202fa77e6a140 /WebCore/loader/MediaDocument.cpp | |
parent | 8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 (diff) | |
download | external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.zip external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.tar.gz external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.tar.bz2 |
auto import from //depot/cupcake/@136594
Diffstat (limited to 'WebCore/loader/MediaDocument.cpp')
-rw-r--r-- | WebCore/loader/MediaDocument.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/WebCore/loader/MediaDocument.cpp b/WebCore/loader/MediaDocument.cpp index 5689457..8ed5b45 100644 --- a/WebCore/loader/MediaDocument.cpp +++ b/WebCore/loader/MediaDocument.cpp @@ -53,6 +53,7 @@ class MediaTokenizer : public Tokenizer { public: MediaTokenizer(Document* doc) : m_doc(doc), m_mediaElement(0) {} +private: virtual bool write(const SegmentedString&, bool appendData); virtual void stopParsing(); virtual void finish(); @@ -62,12 +63,12 @@ public: virtual bool writeRawData(const char* data, int len); void createDocumentStructure(); -private: + Document* m_doc; HTMLMediaElement* m_mediaElement; }; -bool MediaTokenizer::write(const SegmentedString& s, bool appendData) +bool MediaTokenizer::write(const SegmentedString&, bool) { ASSERT_NOT_REACHED(); return false; @@ -103,7 +104,7 @@ void MediaTokenizer::createDocumentStructure() frame->loader()->activeDocumentLoader()->mainResourceLoader()->setShouldBufferData(false); } -bool MediaTokenizer::writeRawData(const char* data, int len) +bool MediaTokenizer::writeRawData(const char*, int) { ASSERT(!m_mediaElement); if (m_mediaElement) |