Add *explicit* keyword to constructor which has a parameter in bridge, history, loader and plugins.
https://bugs.webkit.org/show_bug.cgi?id=92064

Reviewed by Kentaro Hara.

Some constructors missed to use *explicit* keyword. They need to be added
*explicit* keyword to contructor which has a parameter in order to avoid
implicit type conversion.

No new tests. Covered by existing tests.

* bridge/IdentifierRep.h:
(WebCore::IdentifierRep::IdentifierRep):
* history/BackForwardListImpl.h:
(BackForwardListImpl):
* history/CachedFrame.h:
(CachedFrame):
* history/HistoryItem.h:
(HistoryItem):
* loader/DocumentWriter.h:
(DocumentWriter):
* loader/FrameNetworkingContext.h:
(WebCore::FrameNetworkingContext::FrameNetworkingContext):
* loader/HistoryController.h:
* loader/ImageLoader.h:
(ImageLoader):
* loader/LinkLoader.h:
(LinkLoader):
* loader/MainResourceLoader.h:
(MainResourceLoader):
* loader/NavigationAction.h:
(NavigationAction):
* loader/NavigationScheduler.h:
(NavigationScheduler):
* loader/PolicyChecker.h:
(PolicyChecker):
* loader/SubframeLoader.h:
(SubframeLoader):
* loader/ThreadableLoaderClientWrapper.h:
(WebCore::ThreadableLoaderClientWrapper::ThreadableLoaderClientWrapper):
* plugins/PluginData.h:
(PluginData):
* plugins/PluginViewBase.h:
(WebCore::PluginViewBase::PluginViewBase):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123438 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[JSC] REGRESSION(r122912): CodeGeneratorJS.pm generates wrong code
for static attributes in supplemental IDL files
https://bugs.webkit.org/show_bug.cgi?id=91925

Reviewed by Adam Barth.

r122912 implemented static attributes in CodeGeneratorJS.pm.
However, it generates wrong code for static attributes in supplemental
IDL files. This patch fixes it as shown in JSTestInterface.cpp.
This fix aligns with the fix in CodeGeneratorV8.pm (r123308).

Test: bindings/scripts/test/TestSupplemental.idl

* bindings/scripts/CodeGeneratorJS.pm:
(GenerateImplementation):
* bindings/scripts/test/JS/JSTestInterface.cpp:
(WebCore::jsTestInterfaceConstructorSupplementalStaticReadOnlyAttr):
(WebCore::jsTestInterfaceConstructorSupplementalStaticAttr):
(WebCore::setJSTestInterfaceConstructorSupplementalStaticAttr):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123439 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Build fix for Android after r123424
https://bugs.webkit.org/show_bug.cgi?id=92082

Unreviewed build fix.

Mark removed the PlatformSupport.h header from ScrollbarThemeChromiumAndroid.cpp
in r123424, while there still are two references left to another method and a
constant. Re-add the include directive.

* platform/chromium/ScrollbarThemeChromiumAndroid.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123440 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Unreviewed gardening after r123379. Newly added fast/css/sticky/parsing-position-sticky.html fails.
https://bugs.webkit.org/show_bug.cgi?id=92080

Patch by János Badics <jbadics@inf.u-szeged.hu> on 2012-07-24

* platform/qt/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123441 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WK2][EFL][GTK] Share WebCoreArgumentCoders for soup-related types
https://bugs.webkit.org/show_bug.cgi?id=92073

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-07-24
Reviewed by Kenneth Rohde Christiansen.

Move WebCoreArgumentCoders for soup-related types such as
ResourceRequest, ResourceResponse and ResourceError from
port specific file to Shared/soup/WebCoreArgumentCodersSoup.cpp.
This way, the different ports using libsoup can share
code and avoid duplication.

* GNUmakefile.list.am:
* PlatformEfl.cmake:
* Shared/efl/WebCoreArgumentCodersEfl.cpp: Removed.
* Shared/soup/WebCoreArgumentCodersSoup.cpp: Renamed from Source/WebKit2/Shared/gtk/WebCoreArgumentCodersGtk.cpp.
(CoreIPC):
(CoreIPC::::encode):
(CoreIPC::::decode):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123442 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Replace some callsites of shadowAncestorNode() with shadowHost()
https://bugs.webkit.org/show_bug.cgi?id=92060

Reviewed by Hajime Morita.

shadowAncestorNode() is deprecated.

No new tests. This shouldn't change behaviors.

* html/shadow/MediaControlElements.cpp:
(WebCore::toParentMediaElement):
* html/shadow/TextControlInnerElements.h:
(WebCore::SpinButtonElement::isEnabledFormControl):
(WebCore::SpinButtonElement::isReadOnlyFormControl):
* platform/efl/RenderThemeEfl.cpp:
(WebCore::RenderThemeEfl::paintMediaFullscreenButton):
(WebCore::RenderThemeEfl::paintMediaMuteButton):
* platform/gtk/RenderThemeGtk.cpp:
(WebCore::getMediaElementFromRenderObject):
(WebCore::centerRectVerticallyInParentInputElement):
* platform/qt/RenderThemeQt.cpp:
(WebCore::RenderThemeQt::paintSearchFieldCancelButton):
(WebCore::RenderThemeQt::paintMediaSliderThumb):
Removed an ASSERT() because nullness of o->node() is already asserted.
* rendering/RenderInputSpeech.cpp:
(WebCore::RenderInputSpeech::paintInputFieldSpeechButton):
* rendering/RenderMediaControlsChromium.cpp:
(WebCore::paintMediaSliderThumb):
Passing shadowHost() to toParentMediaElement(), which accepts 0 and will return 0.
(WebCore::paintMediaVolumeSliderThumb): ditto.
* rendering/RenderThemeChromiumSkia.cpp:
(WebCore::RenderThemeChromiumSkia::paintSearchFieldCancelButton):
(WebCore::RenderThemeChromiumSkia::paintSearchFieldResultsDecoration):
(WebCore::RenderThemeChromiumSkia::paintSearchFieldResultsButton):
* rendering/RenderThemeMac.mm:
(WebCore::RenderThemeMac::paintSearchFieldCancelButton):
Remove an ASSERT(input) because input never be null unless o->node() is
null. If o->node() is null, this function crashes.
(WebCore::RenderThemeMac::paintSearchFieldResultsDecoration):
(WebCore::RenderThemeMac::paintSearchFieldResultsButton):
(WebCore::RenderThemeMac::paintMediaMuteButton):
It's ok to ignore "node is a media element" case because this function
works only if node->isMediaControlElement().
(WebCore::RenderThemeMac::paintMediaPlayButton): ditto.
(WebCore::RenderThemeMac::paintMediaSliderTrack): ditto.
* rendering/RenderThemeSafari.cpp:
(WebCore::RenderThemeSafari::paintSearchFieldCancelButton):
Remove an ASSERT(input) because input never be null unless o->node() is
null. If o->node() is null, this function crashes.
(WebCore::RenderThemeSafari::paintSearchFieldResultsDecoration): ditto.
(WebCore::RenderThemeSafari::paintSearchFieldResultsButton): ditto.
* rendering/RenderThemeWinCE.cpp:
(WebCore::mediaElementParent):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123443 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][WK2] Fix possible crash in didSendRequestForResource
https://bugs.webkit.org/show_bug.cgi?id=92077

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-07-24
Reviewed by Kenneth Rohde Christiansen.

Add NULL check for wkRedirectResponse in
didSendRequestForResource() before using it. The
argument may be NULL if there was no redirection.

* UIProcess/API/efl/ewk_view.h:
* UIProcess/API/efl/ewk_view_resource_load_client.cpp:
(didSendRequestForResource):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123444 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed.  Rolled DEPS.

* DEPS:

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