summaryrefslogtreecommitdiffstats
path: root/WebCore/html/MediaError.h
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2008-10-21 07:00:00 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2008-10-21 07:00:00 -0700
commit9364f22aed35e1a1e9d07c121510f80be3ab0502 (patch)
treed49911209b132da58d838efa852daf28d516df21 /WebCore/html/MediaError.h
parent87eb0cb35bad8784770ebc807e6c982432e47107 (diff)
downloadexternal_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.zip
external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.gz
external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.bz2
Initial Contribution
Diffstat (limited to 'WebCore/html/MediaError.h')
-rw-r--r--WebCore/html/MediaError.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/WebCore/html/MediaError.h b/WebCore/html/MediaError.h
index 02b16da..33a2a70 100644
--- a/WebCore/html/MediaError.h
+++ b/WebCore/html/MediaError.h
@@ -36,8 +36,7 @@ class MediaError : public RefCounted<MediaError> {
public:
enum Code { MEDIA_ERR_ABORTED = 1, MEDIA_ERR_NETWORK, MEDIA_ERR_DECODE };
- MediaError(Code code) : RefCounted<MediaError>(0), m_code(code) { }
-
+ MediaError(Code code) { m_code = code; }
Code code() const { return m_code; }
private: