Actually prevent unnecessary casts to MediaControls*.
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 10 Sep 2011 19:17:08 +0000 (19:17 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 10 Sep 2011 19:17:08 +0000 (19:17 +0000)
Reviewed by Oliver Hunt.

* html/shadow/MediaControls.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@94911 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/html/shadow/MediaControls.h

index 4380df6557c2fbfa643a081ffb97caf4354314d7..f79cabf0e0593bff015c3f5a5d12bc47a69a7f23 100755 (executable)
@@ -1,3 +1,11 @@
+2011-09-10  Dan Bernstein  <mitz@apple.com>
+
+        Actually prevent unnecessary casts to MediaControls*.
+
+        Reviewed by Oliver Hunt.
+
+        * html/shadow/MediaControls.h:
+
 2011-09-10  Ryosuke Niwa  <rniwa@webkit.org>
 
         Remove printf added by r94900.
index e4a2f5e2347406881a2413d88929a59c1178b856..1e143141a222df2405593a7210cabfddbf977061 100644 (file)
@@ -86,7 +86,7 @@ inline MediaControls* toMediaControls(Node* node)
 }
 
 // This will catch anyone doing an unneccessary cast.
-void toMediaControls(const Node*);
+void toMediaControls(const MediaControls*);
 
 }