Changeset 193623 in webkit


Ignore:
Timestamp:
Dec 7, 2015 5:49:41 AM (8 years ago)
Author:
ddkilzer@apple.com
Message:

TestNetscapePlugIn: Address review comment on r193607
<http://webkit.org/b/151881>

  • DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:

(testSetStatus): Initializing std::unique_ptr<char[]> with
nullptr is redundant.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r193622 r193623  
     12015-12-07  David Kilzer  <ddkilzer@apple.com>
     2
     3        TestNetscapePlugIn: Address review comment on 193607
     4        <http://webkit.org/b/151881>
     5
     6        * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
     7        (testSetStatus): Initializing std::unique_ptr<char[]> with
     8        nullptr is redundant.
     9
    1102015-12-07  Carlos Garcia Campos  <cgarcia@igalia.com>
    211
  • trunk/Tools/DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp

    r193607 r193623  
    975975static bool testSetStatus(PluginObject* obj, const NPVariant* args, uint32_t argCount, NPVariant* result)
    976976{
    977     std::unique_ptr<char[]> message(nullptr);
     977    std::unique_ptr<char[]> message;
    978978    if (argCount && NPVARIANT_IS_STRING(args[0])) {
    979979        NPString statusString = NPVARIANT_TO_STRING(args[0]);
Note: See TracChangeset for help on using the changeset viewer.