Commit e104c05f authored by mitz@apple.com's avatar mitz@apple.com

Actually prevent unnecessary casts to MediaControls*.

Reviewed by Oliver Hunt.

* html/shadow/MediaControls.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94911 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 54fbcaf0
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.
......@@ -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*);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment