Commit 07e1356e authored by commit-queue@webkit.org's avatar commit-queue@webkit.org
Browse files

2010-09-06 Ryuan Choi <ryuan.choi@samsung.com>

        Unreviewed build fix.

        [EFL] REGRESSION(66794) Need to fix build break.
        https://bugs.webkit.org/show_bug.cgi?id=45241

        Add dummy class(FrameNetworkingContextEfl) like GTK+ port and implement
        as EFL style.

        * WebCoreSupport/FrameLoaderClientEfl.cpp:
        (WebCore::FrameLoaderClientEfl::createNetworkingContext):
        * WebCoreSupport/FrameNetworkingContextEfl.h: Added.
        (WebCore::FrameNetworkingContextEfl::create):
        (WebCore::FrameNetworkingContextEfl::coreFrame):
        (WebCore::FrameNetworkingContextEfl::FrameNetworkingContextEfl):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66839 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent cbecfb3b
2010-09-06 Ryuan Choi <ryuan.choi@samsung.com>
Unreviewed build fix.
[EFL] REGRESSION(66794) Need to fix build break.
https://bugs.webkit.org/show_bug.cgi?id=45241
Add dummy class(FrameNetworkingContextEfl) like GTK+ port and implement
as EFL style.
* WebCoreSupport/FrameLoaderClientEfl.cpp:
(WebCore::FrameLoaderClientEfl::createNetworkingContext):
* WebCoreSupport/FrameNetworkingContextEfl.h: Added.
(WebCore::FrameNetworkingContextEfl::create):
(WebCore::FrameNetworkingContextEfl::coreFrame):
(WebCore::FrameNetworkingContextEfl::FrameNetworkingContextEfl):
2010-09-04 Lucas De Marchi <lucas.demarchi@profusion.mobi>
Reviewed by Kenneth Rohde Christiansen.
......
......@@ -39,7 +39,7 @@
#include "EWebKit.h"
#include "FormState.h"
#include "FrameLoader.h"
#include "FrameNetworkingContext.h"
#include "FrameNetworkingContextEfl.h"
#include "FrameTree.h"
#include "FrameView.h"
#include "HTMLFormElement.h"
......@@ -948,7 +948,7 @@ void FrameLoaderClientEfl::transitionToCommittedForNewPage()
PassRefPtr<FrameNetworkingContext> FrameLoaderClientEfl::createNetworkingContext()
{
return FrameNetworkingContext::create(core(m_webFrame.get()));
return FrameNetworkingContextEfl::create(ewk_frame_core_get(m_frame));
}
}
/*
* Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
* Copyright (C) 2010 Samsung Electronics
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef FrameNetworkingContextEfl_h
#define FrameNetworkingContextEfl_h
#include "FrameNetworkingContext.h"
namespace WebCore {
class FrameNetworkingContextEfl : public WebCore::FrameNetworkingContext {
public:
static PassRefPtr<FrameNetworkingContextEfl> create(WebCore::Frame* frame)
{
return adoptRef(new FrameNetworkingContextEfl(frame));
}
WebCore::Frame* coreFrame() const { return frame(); }
private:
FrameNetworkingContextEfl(WebCore::Frame* frame)
: WebCore::FrameNetworkingContext(frame)
{
}
};
}
#endif
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