summaryrefslogtreecommitdiffstats
path: root/cc/heads_up_display_layer_impl.cc
diff options
context:
space:
mode:
authorreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-02 06:26:24 +0000
committerreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-02 06:26:24 +0000
commita3d2445a0edc5958c0c2927b7dcf486fa333531d (patch)
treeba06b4d323b2afe82401869c618635ba583d3a9e /cc/heads_up_display_layer_impl.cc
parent3b21be90a676dcc31ba86ecfe174d35718f92856 (diff)
downloadchromium_src-a3d2445a0edc5958c0c2927b7dcf486fa333531d.zip
chromium_src-a3d2445a0edc5958c0c2927b7dcf486fa333531d.tar.gz
chromium_src-a3d2445a0edc5958c0c2927b7dcf486fa333531d.tar.bz2
cc: Avoid using upload term in relation to resources.
Rename ResourceProvider::upload() to ResourceProvider::setPixels() and PrioritizedTexture::upload() to PrioritizedTexture::setPixels(). BUG= TEST=cc_unittests Review URL: https://chromiumcodereview.appspot.com/11368043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165632 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/heads_up_display_layer_impl.cc')
-rw-r--r--cc/heads_up_display_layer_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/heads_up_display_layer_impl.cc b/cc/heads_up_display_layer_impl.cc
index 5120b83..a30cfc5 100644
--- a/cc/heads_up_display_layer_impl.cc
+++ b/cc/heads_up_display_layer_impl.cc
@@ -107,7 +107,7 @@ void HeadsUpDisplayLayerImpl::updateHudTexture(ResourceProvider* resourceProvide
gfx::Rect layerRect(gfx::Point(), bounds());
DCHECK(bitmap->config() == SkBitmap::kARGB_8888_Config);
- resourceProvider->upload(m_hudTexture->id(), static_cast<const uint8_t*>(bitmap->getPixels()), layerRect, layerRect, gfx::Vector2d());
+ resourceProvider->setPixels(m_hudTexture->id(), static_cast<const uint8_t*>(bitmap->getPixels()), layerRect, layerRect, gfx::Vector2d());
}
void HeadsUpDisplayLayerImpl::didDraw(ResourceProvider* resourceProvider)