Commit 599b1e71 authored by mrowe@apple.com's avatar mrowe@apple.com

Further Gtk and Qt build fixes.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31021 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 04fb2a5d
2008-03-12 Mark Rowe <mrowe@apple.com>
Further Gtk and Qt build fixes.
* bridge/runtime.cpp:
(KJS::Bindings::Instance::createRuntimeObject): Adapt Qt-only code for change to PassRefPtr.
* page/gtk/FrameGtk.cpp: Add missing include.
2008-03-12 Mark Rowe <mrowe@apple.com> 2008-03-12 Mark Rowe <mrowe@apple.com>
Fix Gtk and Qt builds. Fix Gtk and Qt builds.
...@@ -82,7 +82,7 @@ JSObject* Instance::createRuntimeObject(PassRefPtr<Instance> instance) ...@@ -82,7 +82,7 @@ JSObject* Instance::createRuntimeObject(PassRefPtr<Instance> instance)
{ {
#if PLATFORM(QT) #if PLATFORM(QT)
if (instance->getBindingLanguage() == QtLanguage) if (instance->getBindingLanguage() == QtLanguage)
return QtInstance::getRuntimeObject(static_cast<QtInstance*>(instance)); return QtInstance::getRuntimeObject(static_cast<QtInstance*>(instance.get()));
#endif #endif
JSLock lock; JSLock lock;
......
...@@ -28,7 +28,9 @@ ...@@ -28,7 +28,9 @@
#include "config.h" #include "config.h"
#include "Frame.h" #include "Frame.h"
#include "NotImplemented.h" #include "NotImplemented.h"
#include "runtime.h"
namespace WebCore { namespace WebCore {
......
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