Changeset 127552 in webkit


Ignore:
Timestamp:
Sep 4, 2012 9:40:29 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[WK2] Use explicit constructor in InjectedBundle.
https://bugs.webkit.org/show_bug.cgi?id=95746

Patch by Kangil Han <kangil.han@samsung.com> on 2012-09-04
Reviewed by Sam Weinig.

Added explicit keyword in constructor of InjectedBundle in order to avoid implicit type conversion.

  • WebProcess/InjectedBundle/InjectedBundle.h:

(InjectedBundle):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r127525 r127552  
     12012-09-04  Kangil Han  <kangil.han@samsung.com>
     2
     3        [WK2] Use explicit constructor in InjectedBundle.
     4        https://bugs.webkit.org/show_bug.cgi?id=95746
     5
     6        Reviewed by Sam Weinig.
     7
     8        Added explicit keyword in constructor of InjectedBundle in order to avoid implicit type conversion.
     9
     10        * WebProcess/InjectedBundle/InjectedBundle.h:
     11        (InjectedBundle):
     12
    1132012-09-03  Sam Weinig  <sam@webkit.org>
    214
  • trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.h

    r127019 r127552  
    167167
    168168private:
    169     InjectedBundle(const String&);
     169    explicit InjectedBundle(const String&);
    170170
    171171    virtual Type type() const { return APIType; }
Note: See TracChangeset for help on using the changeset viewer.