summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp/trusted/browser_font_trusted.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-07 00:06:04 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-07 00:06:04 +0000
commit1a1399b8dfcae5e3c55fa54e36ccde927b8476c2 (patch)
treeac437dbe007408a11686174c4087f19316dbcfb3 /ppapi/cpp/trusted/browser_font_trusted.h
parent12be277710ff5ace6366e26fd564acd70b8ee2b7 (diff)
downloadchromium_src-1a1399b8dfcae5e3c55fa54e36ccde927b8476c2.zip
chromium_src-1a1399b8dfcae5e3c55fa54e36ccde927b8476c2.tar.gz
chromium_src-1a1399b8dfcae5e3c55fa54e36ccde927b8476c2.tar.bz2
Make BrowserFont take an InstanceHandle.
We missed this when we converted Instance* -> InstanceHandle. Nobody uses this yet. BUG= Review URL: https://chromiumcodereview.appspot.com/11442034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171646 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/cpp/trusted/browser_font_trusted.h')
-rw-r--r--ppapi/cpp/trusted/browser_font_trusted.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ppapi/cpp/trusted/browser_font_trusted.h b/ppapi/cpp/trusted/browser_font_trusted.h
index fc2d801..7225b26 100644
--- a/ppapi/cpp/trusted/browser_font_trusted.h
+++ b/ppapi/cpp/trusted/browser_font_trusted.h
@@ -14,7 +14,7 @@
namespace pp {
class ImageData;
-class Instance;
+class InstanceHandle;
class Point;
class Rect;
@@ -109,14 +109,14 @@ class BrowserFont_Trusted : public Resource {
BrowserFont_Trusted();
explicit BrowserFont_Trusted(PP_Resource resource);
- BrowserFont_Trusted(Instance* instance,
+ BrowserFont_Trusted(const InstanceHandle& instance,
const BrowserFontDescription& description);
BrowserFont_Trusted(const BrowserFont_Trusted& other);
BrowserFont_Trusted& operator=(const BrowserFont_Trusted& other);
// PPB_Font methods:
- static Var GetFontFamilies(Instance* instance);
+ static Var GetFontFamilies(const InstanceHandle& instance);
bool Describe(BrowserFontDescription* description,
PP_BrowserFont_Trusted_Metrics* metrics) const;
bool DrawTextAt(ImageData* dest,