Changeset 143684 in webkit


Ignore:
Timestamp:
Feb 21, 2013, 7:19:46 PM (12 years ago)
Author:
dino@apple.com
Message:

Followup commit for https://bugs.webkit.org/show_bug.cgi?id=110541
from a comment by Jon Lee.

  • html/HTMLPlugInImageElement.cpp:

(WebCore::HTMLPlugInImageElement::subframeLoaderWillCreatePlugIn): Logic
in conditional was unnecessarily complex.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r143683 r143684  
     12013-02-21  Dean Jackson  <dino@apple.com>
     2
     3        Followup commit for https://bugs.webkit.org/show_bug.cgi?id=110541
     4        from a comment by Jon Lee.
     5
     6        * html/HTMLPlugInImageElement.cpp:
     7        (WebCore::HTMLPlugInImageElement::subframeLoaderWillCreatePlugIn): Logic
     8        in conditional was unnecessarily complex.
     9
    1102013-02-21  Ojan Vafai  <ojan@chromium.org>
    211
  • trunk/Source/WebCore/html/HTMLPlugInImageElement.cpp

    r143680 r143684  
    424424    int width = rect.width();
    425425    int height = rect.height();
    426     if (!width || !height || (width <= sizingTinyDimensionThreshold || height <= sizingTinyDimensionThreshold)) {
     426    if (width <= sizingTinyDimensionThreshold || height <= sizingTinyDimensionThreshold) {
    427427        LOG(Plugins, "%p Plug-in is %dx%d, set to play", this, width, height);
    428428        return;
Note: See TracChangeset for help on using the changeset viewer.