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 11a1c2a6f9ed5d1f3342abfad4e09bb9532d3c73..5deabdf3c2d591957a06ffe7a1d66ded8ea0d382 100644 |
--- a/third_party/WebKit/Source/core/css/FontFace.cpp |
+++ b/third_party/WebKit/Source/core/css/FontFace.cpp |
@@ -649,4 +649,11 @@ bool FontFace::hasPendingActivity() const |
return m_status == Loading && executionContext() && !executionContext()->activeDOMObjectsAreStopped(); |
} |
+ScriptPromise FontFace::binaryData(ScriptState* scriptState) const |
+{ |
+ // TODO(dhnishi): Given a loaded font, we may be able to get the binary data |
+ // out of the FontPlatformData. |
+ return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(NotSupportedError)); |
+} |
+ |
} // namespace blink |