Changeset 49213 in webkit


Ignore:
Timestamp:
Oct 6, 2009 6:28:55 PM (15 years ago)
Author:
abarth@webkit.org
Message:

2009-10-06 Adam Barth <abarth@webkit.org>

Unreviewed build fix for Windows.

  • plugins/PluginView.cpp: (WebCore::PluginView::load):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r49212 r49213  
     12009-10-06  Adam Barth  <abarth@webkit.org>
     2
     3        Unreviewed build fix for Windows.
     4
     5        * plugins/PluginView.cpp:
     6        (WebCore::PluginView::load):
     7
    182009-10-06  Adam Barth  <abarth@webkit.org>
    29
  • trunk/WebCore/plugins/PluginView.cpp

    r49169 r49213  
    5454#include "ScriptController.h"
    5555#include "ScriptValue.h"
     56#include "SecurityOrigin.h"
    5657#include "PluginDatabase.h"
    5758#include "PluginDebug.h"
     
    517518        if (!targetFrameName.isNull() && m_parentFrame->tree()->find(targetFrameName) != m_parentFrame)
    518519            return NPERR_INVALID_PARAM;
    519     } else if (!FrameLoader::canLoad(url, String(), m_parentFrame->document())) {
     520    } else if (!SecurityOrigin::canLoad(url, String(), m_parentFrame->document()), 0) {
    520521            return NPERR_GENERIC_ERROR;
    521522    }
Note: See TracChangeset for help on using the changeset viewer.