Bug 74010 - [WK2] ShareableBitmap::paint() with scale factor is only implemented on Mac
Summary: [WK2] ShareableBitmap::paint() with scale factor is only implemented on Mac
Status: RESOLVED LATER
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P4 Normal
Assignee: Nobody
URL:
Keywords:
: 64663 (view as bug list)
Depends on: 64665
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-07 10:44 PST by Balazs Kelemen
Modified: 2014-04-10 11:49 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Balazs Kelemen 2011-12-07 10:44:31 PST
Not sure this is a bug, but I would like to close the other two that deals with that.
So, this function is only called from PluginProxy like:
  m_pluginBackingStore->paint(*graphicsContext, contentsScaleFactor(), IntPoint(), pluginBounds());

but the contensScaleFactor is only changing from 1 to any other value on Mac, like:

void PluginView::setDeviceScaleFactor(float scaleFactor)
{
    if (!m_isInitialized || !m_plugin)
        return;

    m_plugin->contentsScaleFactorChanged(scaleFactor);
}

but this is a Mac only method right now. So we don't need to handle the "!= 1" case currently.
Comment 1 Balazs Kelemen 2011-12-07 10:45:07 PST
*** Bug 64665 has been marked as a duplicate of this bug. ***
Comment 2 Balazs Kelemen 2011-12-07 10:45:18 PST
*** Bug 64663 has been marked as a duplicate of this bug. ***
Comment 3 Balazs Kelemen 2012-10-05 09:29:48 PDT
I'm implementing it for Qt in bug 98518.