2007-08-25 Peter Kasting <zerodpx@gmail.org>
Reviewed by Sam Weinig.
Part 2 of http://bugs.webkit.org/show_bug.cgi?id=14967.
Eliminate all remaining implicit conversions of wtf::Vector<T> to T*. Where code was
previously checking that the Vector's data pointer was non-NULL, check !Vector::isEmpty()
instead.
* wtf/Vector.h:
(WTF::Vector::data):
2007-08-25 Peter Kasting <zerodpx@gmail.org>
Reviewed by Sam Weinig.
Part 2 of http://bugs.webkit.org/show_bug.cgi?id=14967.
Eliminate all remaining implicit conversions of wtf::Vector<T> to T*. Where code was
previously checking that the Vector's data pointer was non-NULL, check !Vector::isEmpty()
instead.
* bindings/js/kjs_navigator.cpp:
(KJS::PluginBase::cachePluginDataIfNecessary):
* loader/mac/LoaderNSURLExtras.m:
(suggestedFilenameWithMIMEType):
* page/FrameView.cpp:
(WebCore::FrameView::~FrameView):
(WebCore::FrameView::pauseScheduledEvents):
(WebCore::FrameView::resumeScheduledEvents):
(WebCore::FrameView::dispatchScheduledEvents):
* platform/mac/PlugInInfoStoreMac.mm:
(WebCore::PlugInInfoStore::createPluginInfoForPluginAtIndex):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@25240
268f45cc-cd09-0410-ab3c-
d52691b4dbfc