Commit 641978ee authored by eric@webkit.org's avatar eric@webkit.org
Browse files

2010-02-16 Ismail Donmez <ismail@namtrac.org>

        Reviewed by Pavel Feldman.

        Fix compilation with inspector disabled.
        https://bugs.webkit.org/show_bug.cgi?id=32724

        * rendering/RenderLayerBacking.cpp:
        (WebCore::inspectorTimelineAgent):
2010-02-16  Ismail Donmez  <ismail@namtrac.org>

        Reviewed by Pavel Feldman.

        Fix compilation with inspector disabled.
        https://bugs.webkit.org/show_bug.cgi?id=32724

        * Api/qwebpage.cpp:
        (qt_drt_webinspector_executeScript):
        (qt_drt_webinspector_close):
        (qt_drt_webinspector_show):
        (qt_drt_setTimelineProfilingEnabled):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54815 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 81b14262
2010-02-16 Ismail Donmez <ismail@namtrac.org>
Reviewed by Pavel Feldman.
Fix compilation with inspector disabled.
https://bugs.webkit.org/show_bug.cgi?id=32724
* rendering/RenderLayerBacking.cpp:
(WebCore::inspectorTimelineAgent):
2010-02-16 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
......
......@@ -1017,6 +1017,7 @@ void RenderLayerBacking::paintIntoLayer(RenderLayer* rootLayer, GraphicsContext*
ASSERT(!m_owningLayer->m_usedTransparency);
}
#if ENABLE(INSPECTOR)
static InspectorTimelineAgent* inspectorTimelineAgent(RenderObject* renderer)
{
Frame* frame = renderer->document()->frame();
......@@ -1027,6 +1028,7 @@ static InspectorTimelineAgent* inspectorTimelineAgent(RenderObject* renderer)
return 0;
return page->inspectorTimelineAgent();
}
#endif
// Up-call from compositing layer drawing callback.
void RenderLayerBacking::paintContents(const GraphicsLayer*, GraphicsContext& context, GraphicsLayerPaintingPhase paintingPhase, const IntRect& clip)
......
......@@ -161,6 +161,7 @@ QString QWEBKIT_EXPORT qt_webpage_groupName(QWebPage* page)
return page->handle()->page->groupName();
}
#if ENABLE(INSPECTOR)
void QWEBKIT_EXPORT qt_drt_webinspector_executeScript(QWebPage* page, long callId, const QString& script)
{
if (!page->handle()->page->inspectorController())
......@@ -192,6 +193,7 @@ void QWEBKIT_EXPORT qt_drt_setTimelineProfilingEnabled(QWebPage* page, bool enab
else
controller->stopTimelineProfiler();
}
#endif
class QWebPageWidgetClient : public QWebPageClient {
public:
......
2010-02-16 Ismail Donmez <ismail@namtrac.org>
Reviewed by Pavel Feldman.
Fix compilation with inspector disabled.
https://bugs.webkit.org/show_bug.cgi?id=32724
* Api/qwebpage.cpp:
(qt_drt_webinspector_executeScript):
(qt_drt_webinspector_close):
(qt_drt_webinspector_show):
(qt_drt_setTimelineProfilingEnabled):
2010-02-16 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
 
Reviewed by Simon Hausman.
......
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