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 6c1f57c115e98b34594256167eeb0fe4c277089a..27a065f0829df3dc6541a0ae05edd1c752eb3e5d 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; |
} |