-
inferno@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=112225 Reviewed by Ryosuke Niwa. Source/WebCore: to* helper functions are preferred over static_cast calls since they help to catch bad casts easily on the testing infrastructure. * Modules/geolocation/Geolocation.cpp: (WebCore::Geolocation::document): ....lot of files. Source/WebKit2: * WebProcess/InjectedBundle/API/mac/WKDOMDocument.mm: Remove the redundant helper. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145745 268f45cc-cd09-0410-ab3c-d52691b4dbfc
8da49f1e