summaryrefslogtreecommitdiffstats
path: root/chrome/common/gfx_resource_provider.cc
blob: 8cee03420c79db2b7e112be7d54bd96d11a12fe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/common/gfx_resource_provider.h"

#include "base/string_piece.h"
#include "ui/base/resource/resource_bundle.h"

namespace chrome {

base::StringPiece GfxResourceProvider(int key) {
  return ResourceBundle::GetSharedInstance().GetRawDataResource(key);
}

}  // namespace chrome