| Index: sky/engine/bindings-dart/core/dart/DartLibraryIds.h
|
| diff --git a/sky/engine/core/loader/UniqueIdentifier.cpp b/sky/engine/bindings-dart/core/dart/DartLibraryIds.h
|
| similarity index 87%
|
| copy from sky/engine/core/loader/UniqueIdentifier.cpp
|
| copy to sky/engine/bindings-dart/core/dart/DartLibraryIds.h
|
| index 0d6d9b3c9e1dc27a0d61a0e075c6e12a81ee5fdb..8ac72fdb911c2dd96ba6ab1434d5233ff49c824d 100644
|
| --- a/sky/engine/core/loader/UniqueIdentifier.cpp
|
| +++ b/sky/engine/bindings-dart/core/dart/DartLibraryIds.h
|
| @@ -28,17 +28,20 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#include "sky/engine/config.h"
|
| -#include "sky/engine/core/loader/UniqueIdentifier.h"
|
| +#ifndef DartLibraryIds_h
|
| +#define DartLibraryIds_h
|
|
|
| namespace blink {
|
|
|
| -static unsigned long s_uniqueIdentifier = 0;
|
| +enum {
|
| + DartJsLibraryId = 0,
|
| + DartBlinkLibraryId,
|
| + DartHtmlLibraryId,
|
| + DartSvgLibraryId,
|
|
|
| -unsigned long createUniqueIdentifier()
|
| -{
|
| - return ++s_uniqueIdentifier;
|
| -}
|
| + NumDartLibraryIds,
|
| +};
|
|
|
| -} // namespace blink
|
| +} // namespace blink
|
|
|
| +#endif // DartLibraryIds_h
|
|
|