Changeset 148194 in webkit


Ignore:
Timestamp:
Apr 11, 2013 4:37:53 AM (11 years ago)
Author:
rakuco@webkit.org
Message:

IconDatabase: Simplify boolean logic in assertion.
https://bugs.webkit.org/show_bug.cgi?id=114425

Reviewed by Andreas Kling.

Follow-up to r148097; drop the overzealous use of !! to turn a
PassRefPtr into a boolean.

  • loader/icon/IconDatabase.cpp:

(WebCore::IconDatabase::updateIconRecord):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r148192 r148194  
     12013-04-11  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
     2
     3        IconDatabase: Simplify boolean logic in assertion.
     4        https://bugs.webkit.org/show_bug.cgi?id=114425
     5
     6        Reviewed by Andreas Kling.
     7
     8        Follow-up to r148097; drop the overzealous use of !! to turn a
     9        PassRefPtr into a boolean.
     10
     11        * loader/icon/IconDatabase.cpp:
     12        (WebCore::IconDatabase::updateIconRecord):
     13
    1142013-04-11  Arvid Nilsson  <anilsson@rim.com>
    215
  • trunk/Source/WebCore/loader/icon/IconDatabase.cpp

    r148097 r148194  
    539539{
    540540    // Only one of iconData or iconBitmap should be provided, never both. None is also fine.
    541     ASSERT(!(!!iconData && !!iconBitmap));
     541    ASSERT(!(iconData && iconBitmap));
    542542
    543543    Vector<String> pageURLs;
Note: See TracChangeset for help on using the changeset viewer.