[Webkit-unassigned] [Bug 35550] Allow a plugin to participate in the browser's print workflow.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 9 22:09:49 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=35550
Darin Fisher (:fishd, Google) <fishd at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #50370|review? |review+, commit-queue-
Flag| |
--- Comment #13 from Darin Fisher (:fishd, Google) <fishd at chromium.org> 2010-03-09 22:09:48 PST ---
(From update of attachment 50370)
> +static WebPluginContainerImpl* pluginContainerFromFrame(Frame* frame)
> +{
> + if (!frame)
> + return NULL;
> + if (!frame->document() || !frame->document()->isPluginDocument())
> + return NULL;
> + PluginDocument* pluginDocument = static_cast<PluginDocument*>(frame->document());
> + return static_cast<WebPluginContainerImpl *>(pluginDocument->pluginWidget());
> +}
As the style bot says, NULL -> 0
R=me otherwise
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list