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 2004519f27219bdc250acbe847a70b6928ee6b7f..109ddb2bf0caefb29f1e7cb317fc247ea9d6c72a 100644 |
--- a/third_party/WebKit/Source/core/css/FontFace.cpp |
+++ b/third_party/WebKit/Source/core/css/FontFace.cpp |
@@ -81,8 +81,10 @@ FontFace* FontFace::create(ExecutionContext* context, |
return create(context, family, source.getAsString(), descriptors); |
if (source.isArrayBuffer()) |
return create(context, family, source.getAsArrayBuffer(), descriptors); |
- if (source.isArrayBufferView()) |
- return create(context, family, source.getAsArrayBufferView(), descriptors); |
+ if (source.isArrayBufferView()) { |
+ return create(context, family, source.getAsArrayBufferView().view(), |
+ descriptors); |
+ } |
NOTREACHED(); |
return nullptr; |
} |