| Index: Source/bindings/core/dart/shared_lib/DartLibraryMain.cpp
|
| diff --git a/Source/modules/quota/StorageInfo.cpp b/Source/bindings/core/dart/shared_lib/DartLibraryMain.cpp
|
| similarity index 87%
|
| copy from Source/modules/quota/StorageInfo.cpp
|
| copy to Source/bindings/core/dart/shared_lib/DartLibraryMain.cpp
|
| index a41b8d6e6b334d714e3fc3a89559e0487df22aef..e1a73345da4fccf48c166e464d0a6d980a43cf4a 100644
|
| --- a/Source/modules/quota/StorageInfo.cpp
|
| +++ b/Source/bindings/core/dart/shared_lib/DartLibraryMain.cpp
|
| @@ -28,15 +28,12 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#include "config.h"
|
| -#include "modules/quota/StorageInfo.h"
|
| +#if !defined(DART_SHARED_LIB)
|
| +#error This is only intended to be used when Dart is used as a shared library.
|
| +#endif
|
|
|
| -namespace blink {
|
| -
|
| -StorageInfo::StorageInfo(unsigned long long usage, unsigned long long quota)
|
| - : m_usage(usage)
|
| - , m_quota(quota)
|
| +// Unused entry point for a shared library containing the Dart VM.
|
| +int main(int argc, char** argv)
|
| {
|
| + return 0;
|
| }
|
| -
|
| -} // namespace blink
|
|
|