Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: third_party/WebKit/WebCore/bindings/js/ScriptControllerQt.cpp

Issue 21165: Revert the merge. Mac build is mysteriously broken. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Dirk Mueller <mueller@kde.org> 2 * Copyright (C) 2006 Dirk Mueller <mueller@kde.org>
3 * Copyright (C) 2006 Zack Rusin <zack@kde.org> 3 * Copyright (C) 2006 Zack Rusin <zack@kde.org>
4 * Copyright (C) 2006 George Staikos <staikos@kde.org> 4 * Copyright (C) 2006 George Staikos <staikos@kde.org>
5 * Copyright (C) 2006 Simon Hausmann <hausmann@kde.org> 5 * Copyright (C) 2006 Simon Hausmann <hausmann@kde.org>
6 * Copyright (C) 2006 Rob Buis <buis@kde.org> 6 * Copyright (C) 2006 Rob Buis <buis@kde.org>
7 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> 7 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org>
8 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2008 Collabora Ltd. All rights reserved. 9 * Copyright (C) 2008 Collabora Ltd. All rights reserved.
10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 if (widget->isPluginView()) { 51 if (widget->isPluginView()) {
52 PluginView* pluginView = static_cast<PluginView*>(widget); 52 PluginView* pluginView = static_cast<PluginView*>(widget);
53 if (pluginView->isNPAPIPlugin()) 53 if (pluginView->isNPAPIPlugin())
54 return pluginView->bindingInstance(); 54 return pluginView->bindingInstance();
55 return 0; 55 return 0;
56 } 56 }
57 57
58 QWidget* platformWidget = widget->platformWidget(); 58 QWidget* platformWidget = widget->platformWidget();
59 if (!platformWidget) 59 if (!platformWidget)
60 return 0; 60 return 0;
61 return JSC::Bindings::QtInstance::getQtInstance(platformWidget, bindingRootO bject(), QScriptEngine::QtOwnership); 61 return JSC::Bindings::QtInstance::getQtInstance(platformWidget, bindingRootO bject());
62 } 62 }
63 63
64 } 64 }
65 // vim: ts=4 sw=4 et 65 // vim: ts=4 sw=4 et
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698