Index: third_party/WebKit/Source/core/css/FontFace.cpp |
diff --git a/third_party/WebKit/Source/core/css/FontFace.cpp b/third_party/WebKit/Source/core/css/FontFace.cpp |
index c4891dc093f4c5d2e56df7b5bf4d21d3efa078f0..790110a6b1e7a0d9707942c5db40f7f93bacb0c9 100644 |
--- a/third_party/WebKit/Source/core/css/FontFace.cpp |
+++ b/third_party/WebKit/Source/core/css/FontFace.cpp |
@@ -93,14 +93,14 @@ |
return fontFace; |
} |
-FontFace* FontFace::create(ExecutionContext* context, const AtomicString& family, DOMArrayBuffer* source, const FontFaceDescriptors& descriptors) |
+FontFace* FontFace::create(ExecutionContext* context, const AtomicString& family, PassRefPtr<DOMArrayBuffer> source, const FontFaceDescriptors& descriptors) |
{ |
FontFace* fontFace = new FontFace(context, family, descriptors); |
fontFace->initCSSFontFace(static_cast<const unsigned char*>(source->data()), source->byteLength()); |
return fontFace; |
} |
-FontFace* FontFace::create(ExecutionContext* context, const AtomicString& family, DOMArrayBufferView* source, const FontFaceDescriptors& descriptors) |
+FontFace* FontFace::create(ExecutionContext* context, const AtomicString& family, PassRefPtr<DOMArrayBufferView> source, const FontFaceDescriptors& descriptors) |
{ |
FontFace* fontFace = new FontFace(context, family, descriptors); |
fontFace->initCSSFontFace(static_cast<const unsigned char*>(source->baseAddress()), source->byteLength()); |