RESOLVED FIXED 172804
TestNetscapePlugIn: Move WTF_ATTRIBUTE_PRINTF() from implementation to declaration
https://bugs.webkit.org/show_bug.cgi?id=172804
Summary TestNetscapePlugIn: Move WTF_ATTRIBUTE_PRINTF() from implementation to declar...
David Kilzer (:ddkilzer)
Reported 2017-06-01 05:00:49 PDT
Need the bug URL (OOPS!). Reviewed by NOBODY (OOPS!). WTF_ATTRIBUTE_PRINTF() only works outside the current compilation unit if it's on the declaration, not the implementation, of a function or class method. * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp: * DumpRenderTree/TestNetscapePlugIn/PluginObject.h: * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp: * DumpRenderTree/TestNetscapePlugIn/PluginTest.h: --- 5 files changed, 19 insertions(+), 6 deletions(-)
Attachments
Patch (4.05 KB, patch)
2017-06-01 05:00 PDT, David Kilzer (:ddkilzer)
no flags
Patch v2 (4.85 KB, patch)
2017-06-01 05:11 PDT, David Kilzer (:ddkilzer)
no flags
Patch v3 (5.87 KB, patch)
2017-06-01 10:08 PDT, David Kilzer (:ddkilzer)
no flags
David Kilzer (:ddkilzer)
Comment 1 2017-06-01 05:00:50 PDT
David Kilzer (:ddkilzer)
Comment 2 2017-06-01 05:02:28 PDT
(In reply to David Kilzer (:ddkilzer) from comment #1) > Created attachment 311690 [details] > Patch This may need the following fix as well: +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wformat-nonliteral" pluginLogWithArguments(instance, format, args); +#pragma clang diagnostic pop Waiting for EWS.
David Kilzer (:ddkilzer)
Comment 3 2017-06-01 05:11:25 PDT
Created attachment 311691 [details] Patch v2
David Kilzer (:ddkilzer)
Comment 4 2017-06-01 10:08:14 PDT
Created attachment 311714 [details] Patch v3
WebKit Commit Bot
Comment 5 2017-06-06 11:45:28 PDT
Comment on attachment 311714 [details] Patch v3 Clearing flags on attachment: 311714 Committed r217847: <http://trac.webkit.org/changeset/217847>
WebKit Commit Bot
Comment 6 2017-06-06 11:45:29 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.