Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
sxychenjing
engine
提交
1c68b123
E
engine
项目概览
sxychenjing
/
engine
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
E
engine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
1c68b123
编写于
8月 03, 2016
作者:
A
Adam Barth
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Reland "Remove more //base dependencies" (#2857)"
Hopefully this will build this time.
上级
15ee1fb7
变更
19
隐藏空白更改
内联
并排
Showing
19 changed file
with
64 addition
and
62 deletion
+64
-62
sky/engine/bindings/dart_mojo_internal.h
sky/engine/bindings/dart_mojo_internal.h
+2
-2
sky/engine/bindings/dart_runtime_hooks.cc
sky/engine/bindings/dart_runtime_hooks.cc
+3
-6
sky/engine/bindings/dart_runtime_hooks.h
sky/engine/bindings/dart_runtime_hooks.h
+2
-2
sky/engine/bindings/dart_ui.h
sky/engine/bindings/dart_ui.h
+2
-2
sky/engine/bindings/mojo_services.h
sky/engine/bindings/mojo_services.h
+2
-1
sky/engine/core/script/dart_controller.h
sky/engine/core/script/dart_controller.h
+2
-2
sky/engine/core/script/dart_service_isolate.cc
sky/engine/core/script/dart_service_isolate.cc
+13
-13
sky/engine/core/script/embedder_resources.cc
sky/engine/core/script/embedder_resources.cc
+7
-5
sky/engine/core/text/TextBox.cpp
sky/engine/core/text/TextBox.cpp
+2
-2
sky/engine/platform/exported/sky_settings.cc
sky/engine/platform/exported/sky_settings.cc
+9
-8
sky/engine/platform/fonts/FontFallbackList.cpp
sky/engine/platform/fonts/FontFallbackList.cpp
+0
-2
sky/engine/platform/fonts/apple/FontCacheIOS.mm
sky/engine/platform/fonts/apple/FontCacheIOS.mm
+5
-5
sky/engine/platform/mojo/data_pipe.cc
sky/engine/platform/mojo/data_pipe.cc
+2
-1
sky/engine/public/sky/sky_view.cc
sky/engine/public/sky/sky_view.cc
+1
-1
sky/engine/public/sky/sky_view.h
sky/engine/public/sky/sky_view.h
+2
-5
sky/engine/wtf/BUILD.gn
sky/engine/wtf/BUILD.gn
+4
-0
sky/engine/wtf/dtoa/bignum.h
sky/engine/wtf/dtoa/bignum.h
+1
-1
sky/engine/wtf/dtoa/double-conversion.h
sky/engine/wtf/dtoa/double-conversion.h
+2
-2
sky/engine/wtf/dtoa/utils.h
sky/engine/wtf/dtoa/utils.h
+3
-2
未找到文件。
sky/engine/bindings/dart_mojo_internal.h
浏览文件 @
1c68b123
...
...
@@ -5,7 +5,7 @@
#ifndef SKY_ENGINE_BINDINGS_DART_MOJO_INTERNAL_H_
#define SKY_ENGINE_BINDINGS_DART_MOJO_INTERNAL_H_
#include "
base
/macros.h"
#include "
lib/ftl
/macros.h"
#include "mojo/public/cpp/system/handle.h"
namespace
blink
{
...
...
@@ -17,7 +17,7 @@ class DartMojoInternal {
static
void
SetHandleWatcherProducerHandle
(
MojoHandle
handle
);
private:
DISALLOW_IMPLICIT_CONSTRUCTORS
(
DartMojoInternal
);
FTL_
DISALLOW_IMPLICIT_CONSTRUCTORS
(
DartMojoInternal
);
};
}
// namespace blink
...
...
sky/engine/bindings/dart_runtime_hooks.cc
浏览文件 @
1c68b123
...
...
@@ -8,10 +8,6 @@
#include <stdlib.h>
#include <string.h>
#include "base/bind.h"
#include "base/logging.h"
#include "base/macros.h"
#include "base/time/time.h"
#include "dart/runtime/bin/embedded_dart_io.h"
#include "dart/runtime/include/dart_api.h"
#include "dart/runtime/include/dart_tools_api.h"
...
...
@@ -23,6 +19,7 @@
#include "flutter/tonic/dart_library_natives.h"
#include "flutter/tonic/dart_microtask_queue.h"
#include "flutter/tonic/dart_state.h"
#include "lib/ftl/logging.h"
#include "sky/engine/core/script/ui_dart_state.h"
#include "sky/engine/wtf/text/WTFString.h"
...
...
@@ -86,7 +83,7 @@ static void InitDartInternal(Dart_Handle builtin_library,
DART_CHECK_VALID
(
isolate_lib
);
DART_CHECK_VALID
(
Dart_Invoke
(
isolate_lib
,
method_name
,
0
,
NULL
));
}
else
{
CHECK
(
isolate_type
==
DartRuntimeHooks
::
SecondaryIsolate
);
FTL_
CHECK
(
isolate_type
==
DartRuntimeHooks
::
SecondaryIsolate
);
Dart_Handle
io_lib
=
Dart_LookupLibrary
(
ToDart
(
"dart:io"
));
DART_CHECK_VALID
(
io_lib
);
Dart_Handle
setup_hooks
=
Dart_NewStringFromCString
(
"_setupHooks"
);
...
...
@@ -111,7 +108,7 @@ static void InitDartAsync(Dart_Handle builtin_library,
schedule_microtask
=
GetClosure
(
builtin_library
,
"_getScheduleMicrotaskClosure"
);
}
else
{
CHECK
(
isolate_type
==
DartRuntimeHooks
::
SecondaryIsolate
);
FTL_
CHECK
(
isolate_type
==
DartRuntimeHooks
::
SecondaryIsolate
);
Dart_Handle
isolate_lib
=
Dart_LookupLibrary
(
ToDart
(
"dart:isolate"
));
Dart_Handle
method_name
=
Dart_NewStringFromCString
(
"_getIsolateScheduleImmediateClosure"
);
...
...
sky/engine/bindings/dart_runtime_hooks.h
浏览文件 @
1c68b123
...
...
@@ -5,9 +5,9 @@
#ifndef SKY_ENGINE_BINDINGS_DART_RUNTIME_HOOKS_H_
#define SKY_ENGINE_BINDINGS_DART_RUNTIME_HOOKS_H_
#include "base/macros.h"
#include "dart/runtime/include/dart_api.h"
#include "flutter/tonic/dart_library_natives.h"
#include "lib/ftl/macros.h"
namespace
blink
{
...
...
@@ -22,7 +22,7 @@ class DartRuntimeHooks {
static
void
RegisterNatives
(
DartLibraryNatives
*
natives
);
private:
DISALLOW_IMPLICIT_CONSTRUCTORS
(
DartRuntimeHooks
);
FTL_
DISALLOW_IMPLICIT_CONSTRUCTORS
(
DartRuntimeHooks
);
};
}
// namespace blink
...
...
sky/engine/bindings/dart_ui.h
浏览文件 @
1c68b123
...
...
@@ -5,7 +5,7 @@
#ifndef SKY_ENGINE_BINDINGS_DART_UI_H_
#define SKY_ENGINE_BINDINGS_DART_UI_H_
#include "
base
/macros.h"
#include "
lib/ftl
/macros.h"
namespace
blink
{
...
...
@@ -15,7 +15,7 @@ class DartUI {
static
void
InitForIsolate
();
private:
DISALLOW_IMPLICIT_CONSTRUCTORS
(
DartUI
);
FTL_
DISALLOW_IMPLICIT_CONSTRUCTORS
(
DartUI
);
};
}
// namespace blink
...
...
sky/engine/bindings/mojo_services.h
浏览文件 @
1c68b123
...
...
@@ -6,6 +6,7 @@
#define SKY_ENGINE_BINDINGS_MOJO_SERVICES_H_
#include "dart/runtime/include/dart_api.h"
#include "lib/ftl/macros.h"
#include "mojo/public/cpp/application/service_provider_impl.h"
#include "mojo/public/interfaces/application/service_provider.mojom.h"
#include "mojo/services/asset_bundle/interfaces/asset_bundle.mojom.h"
...
...
@@ -51,7 +52,7 @@ class MojoServices {
// https://github.com/domokit/mojo/issues/536
mojo
::
ServiceProviderPtr
services_from_dart_
;
MOJO
_DISALLOW_COPY_AND_ASSIGN
(
MojoServices
);
FTL
_DISALLOW_COPY_AND_ASSIGN
(
MojoServices
);
};
}
// namespace blink
...
...
sky/engine/core/script/dart_controller.h
浏览文件 @
1c68b123
...
...
@@ -8,9 +8,9 @@
#include <memory>
#include "base/callback_forward.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "dart/runtime/include/dart_api.h"
#include "lib/ftl/macros.h"
#include "mojo/public/cpp/system/data_pipe.h"
#include "sky/engine/wtf/OwnPtr.h"
#include "sky/engine/wtf/text/AtomicString.h"
...
...
@@ -55,7 +55,7 @@ class DartController {
base
::
WeakPtrFactory
<
DartController
>
weak_factory_
;
DISALLOW_COPY_AND_ASSIGN
(
DartController
);
FTL_
DISALLOW_COPY_AND_ASSIGN
(
DartController
);
};
}
...
...
sky/engine/core/script/dart_service_isolate.cc
浏览文件 @
1c68b123
...
...
@@ -4,11 +4,11 @@
#include "dart_service_isolate.h"
#include "base/logging.h"
#include "dart/runtime/include/dart_api.h"
#include "flutter/tonic/dart_converter.h"
#include "flutter/tonic/dart_error.h"
#include "flutter/tonic/dart_library_natives.h"
#include "lib/ftl/logging.h"
#include "sky/engine/core/script/embedder_resources.h"
#define RETURN_ERROR_HANDLE(handle) \
...
...
@@ -44,12 +44,12 @@ static int observatory_port_;
Dart_NativeFunction
GetNativeFunction
(
Dart_Handle
name
,
int
argument_count
,
bool
*
auto_setup_scope
)
{
CHECK
(
g_natives
);
FTL_
CHECK
(
g_natives
);
return
g_natives
->
GetNativeFunction
(
name
,
argument_count
,
auto_setup_scope
);
}
const
uint8_t
*
GetSymbol
(
Dart_NativeFunction
native_function
)
{
CHECK
(
g_natives
);
FTL_
CHECK
(
g_natives
);
return
g_natives
->
GetSymbol
(
native_function
);
}
...
...
@@ -57,9 +57,9 @@ const uint8_t* GetSymbol(Dart_NativeFunction native_function) {
void
DartServiceIsolate
::
TriggerResourceLoad
(
Dart_NativeArguments
args
)
{
Dart_Handle
library
=
Dart_RootLibrary
();
DCHECK
(
!
Dart_IsError
(
library
));
FTL_
DCHECK
(
!
Dart_IsError
(
library
));
Dart_Handle
result
=
LoadResources
(
library
);
DCHECK
(
!
Dart_IsError
(
result
));
FTL_
DCHECK
(
!
Dart_IsError
(
result
));
}
void
DartServiceIsolate
::
NotifyServerState
(
Dart_NativeArguments
args
)
{
...
...
@@ -85,11 +85,11 @@ bool DartServiceIsolate::Startup(std::string server_ip,
bool
disable_origin_check
,
char
**
error
)
{
Dart_Isolate
isolate
=
Dart_CurrentIsolate
();
CHECK
(
isolate
);
FTL_
CHECK
(
isolate
);
// Remember the embedder's library tag handler.
g_embedder_tag_handler
=
embedder_tag_handler
;
CHECK
(
g_embedder_tag_handler
);
FTL_
CHECK
(
g_embedder_tag_handler
);
// Setup native entries.
if
(
!
g_natives
)
{
...
...
@@ -120,7 +120,7 @@ bool DartServiceIsolate::Startup(std::string server_ip,
Dart_SetLibraryTagHandler
(
DartServiceIsolate
::
LibraryTagHandler
);
// Load main script.
Dart_Handle
library
=
LoadScript
(
kServiceIsolateScript
);
DCHECK
(
library
!=
Dart_Null
());
FTL_
DCHECK
(
library
!=
Dart_Null
());
SHUTDOWN_ON_ERROR
(
library
);
// Setup native entry resolution.
result
=
Dart_SetNativeResolver
(
library
,
GetNativeFunction
,
GetSymbol
);
...
...
@@ -205,7 +205,7 @@ Dart_Handle DartServiceIsolate::LoadResource(Dart_Handle library,
const
char
*
data_buffer
=
NULL
;
int
data_buffer_length
=
g_resources
->
ResourceLookup
(
resource_name
,
&
data_buffer
);
DCHECK
(
data_buffer_length
!=
EmbedderResources
::
kNoSuchInstance
);
FTL_
DCHECK
(
data_buffer_length
!=
EmbedderResources
::
kNoSuchInstance
);
Dart_Handle
data_list
=
Dart_NewTypedData
(
Dart_TypedData_kUint8
,
data_buffer_length
);
RETURN_ERROR_HANDLE
(
data_list
);
...
...
@@ -216,9 +216,9 @@ Dart_Handle DartServiceIsolate::LoadResource(Dart_Handle library,
&
data_list_buffer
,
&
data_list_buffer_length
);
RETURN_ERROR_HANDLE
(
result
);
DCHECK
(
data_buffer_length
==
data_list_buffer_length
);
DCHECK
(
data_list_buffer
!=
NULL
);
DCHECK
(
type
=
Dart_TypedData_kUint8
);
FTL_
DCHECK
(
data_buffer_length
==
data_list_buffer_length
);
FTL_
DCHECK
(
data_list_buffer
!=
NULL
);
FTL_
DCHECK
(
type
=
Dart_TypedData_kUint8
);
memmove
(
data_list_buffer
,
&
data_buffer
[
0
],
data_buffer_length
);
result
=
Dart_TypedDataReleaseData
(
data_list
);
RETURN_ERROR_HANDLE
(
result
);
...
...
@@ -272,7 +272,7 @@ Dart_Handle DartServiceIsolate::LibraryTagHandler(Dart_LibraryTag tag,
// Embedder handles all requests for external libraries.
return
g_embedder_tag_handler
(
tag
,
library
,
url
);
}
DCHECK
((
tag
==
Dart_kSourceTag
)
||
(
tag
==
Dart_kCanonicalizeUrl
));
FTL_
DCHECK
((
tag
==
Dart_kSourceTag
)
||
(
tag
==
Dart_kCanonicalizeUrl
));
if
(
tag
==
Dart_kCanonicalizeUrl
)
{
// url is already canonicalized.
return
url
;
...
...
sky/engine/core/script/embedder_resources.cc
浏览文件 @
1c68b123
...
...
@@ -4,7 +4,9 @@
#include "sky/engine/core/script/embedder_resources.h"
#include "base/logging.h"
#include <string.h>
#include "lib/ftl/logging.h"
namespace
blink
{
...
...
@@ -20,7 +22,7 @@ int EmbedderResources::ResourceLookup(const char* path, const char** resource) {
const
ResourcesEntry
&
entry
=
resources_table_
[
i
];
if
(
strcmp
(
path
,
entry
.
path_
)
==
0
)
{
*
resource
=
entry
.
resource_
;
DCHECK
(
entry
.
length_
>
0
);
FTL_
DCHECK
(
entry
.
length_
>
0
);
return
entry
.
length_
;
}
}
...
...
@@ -28,17 +30,17 @@ int EmbedderResources::ResourceLookup(const char* path, const char** resource) {
}
const
char
*
EmbedderResources
::
Path
(
int
idx
)
{
DCHECK
(
idx
>=
0
);
FTL_
DCHECK
(
idx
>=
0
);
ResourcesEntry
*
entry
=
At
(
idx
);
if
(
entry
==
nullptr
)
{
return
nullptr
;
}
DCHECK
(
entry
->
path_
!=
nullptr
);
FTL_
DCHECK
(
entry
->
path_
!=
nullptr
);
return
entry
->
path_
;
}
ResourcesEntry
*
EmbedderResources
::
At
(
int
idx
)
{
DCHECK
(
idx
>=
0
);
FTL_
DCHECK
(
idx
>=
0
);
for
(
int
i
=
0
;
resources_table_
[
i
].
path_
!=
nullptr
;
i
++
)
{
if
(
idx
==
i
)
{
return
&
resources_table_
[
i
];
...
...
sky/engine/core/text/TextBox.cpp
浏览文件 @
1c68b123
...
...
@@ -4,9 +4,9 @@
#include "sky/engine/core/text/TextBox.h"
#include "base/logging.h"
#include "flutter/tonic/dart_class_library.h"
#include "flutter/tonic/dart_error.h"
#include "lib/ftl/logging.h"
#include "sky/engine/core/script/ui_dart_state.h"
namespace
blink
{
...
...
@@ -17,7 +17,7 @@ Dart_Handle DartConverter<TextBox>::ToDart(const TextBox& val) {
DartClassLibrary
&
class_library
=
DartState
::
Current
()
->
class_library
();
Dart_Handle
type
=
Dart_HandleFromPersistent
(
class_library
.
GetClass
(
"ui"
,
"TextBox"
));
DCHECK
(
!
LogIfError
(
type
));
FTL_
DCHECK
(
!
LogIfError
(
type
));
const
int
argc
=
5
;
Dart_Handle
argv
[
argc
]
=
{
blink
::
ToDart
(
val
.
sk_rect
.
fLeft
),
...
...
sky/engine/platform/exported/sky_settings.cc
浏览文件 @
1c68b123
...
...
@@ -6,23 +6,24 @@
#include <memory>
#include "base/lazy_instance.h"
#include "base/logging.h"
#include "lib/ftl/logging.h"
namespace
blink
{
namespace
{
static
base
::
LazyInstance
<
SkySettings
>
s_settings
=
LAZY_INSTANCE_INITIALIZER
;
SkySettings
*
g_settings
=
nullptr
;
static
bool
s_have_settings
=
false
;
}
// namespace
const
SkySettings
&
SkySettings
::
Get
()
{
return
s_settings
.
Get
();
FTL_CHECK
(
g_settings
);
return
*
g_settings
;
}
void
SkySettings
::
Set
(
const
SkySettings
&
settings
)
{
CHECK
(
!
s_have
_settings
);
s_settings
.
Get
()
=
settings
;
s_have_settings
=
true
;
FTL_CHECK
(
!
g
_settings
);
g_settings
=
new
SkySettings
()
;
*
g_settings
=
settings
;
}
}
// namespace blink
sky/engine/platform/fonts/FontFallbackList.cpp
浏览文件 @
1c68b123
...
...
@@ -34,8 +34,6 @@
#include "sky/engine/platform/fonts/SegmentedFontData.h"
#include "sky/engine/wtf/unicode/CharacterNames.h"
#include "base/logging.h"
namespace
blink
{
FontFallbackList
::
FontFallbackList
()
...
...
sky/engine/platform/fonts/apple/FontCacheIOS.mm
浏览文件 @
1c68b123
...
...
@@ -33,12 +33,12 @@
#import <CoreText/CoreText.h>
#import <UIKit/UIKit.h>
#include "sky/engine/platform/fonts/FontCache.h"
#include "base/mac/scoped_nsautorelease_pool.h"
#include "base/mac/scoped_nsobject.h"
#include "base/lazy_instance.h"
#include "base/macros.h"
#include "base/logging.h"
#include "base/mac/scoped_nsautorelease_pool.h"
#include "base/mac/scoped_nsobject.h"
#include "lib/ftl/macros.h"
#include "sky/engine/platform/fonts/FontCache.h"
namespace
blink
{
...
...
@@ -129,7 +129,7 @@ class FontFallbackSelector {
private:
CFRef
<
CTFontRef
>
_prototype
;
DISALLOW_COPY_AND_ASSIGN
(
FontFallbackSelector
);
FTL_
DISALLOW_COPY_AND_ASSIGN
(
FontFallbackSelector
);
};
static
base
::
LazyInstance
<
FontFallbackSelector
>
g_fallback_selector
=
...
...
sky/engine/platform/mojo/data_pipe.cc
浏览文件 @
1c68b123
...
...
@@ -7,6 +7,7 @@
#include <memory>
#include "base/bind.h"
#include "lib/ftl/macros.h"
#include "mojo/data_pipe_utils/data_pipe_drainer.h"
#include "sky/engine/platform/mojo/data_pipe.h"
#include "sky/engine/public/platform/Platform.h"
...
...
@@ -41,7 +42,7 @@ class DrainJob : public mojo::common::DataPipeDrainer::Client {
RefPtr
<
SharedBuffer
>
buffer_
;
std
::
unique_ptr
<
mojo
::
common
::
DataPipeDrainer
>
drainer_
;
DISALLOW_COPY_AND_ASSIGN
(
DrainJob
);
FTL_
DISALLOW_COPY_AND_ASSIGN
(
DrainJob
);
};
}
// namespace
...
...
sky/engine/public/sky/sky_view.cc
浏览文件 @
1c68b123
...
...
@@ -20,7 +20,7 @@ std::unique_ptr<SkyView> SkyView::Create(SkyViewClient* client) {
}
SkyView
::
SkyView
(
SkyViewClient
*
client
)
:
client_
(
client
)
,
weak_factory_
(
this
)
{}
:
client_
(
client
)
{}
SkyView
::~
SkyView
()
{}
...
...
sky/engine/public/sky/sky_view.h
浏览文件 @
1c68b123
...
...
@@ -7,9 +7,8 @@
#include <memory>
#include "base/memory/weak_ptr.h"
#include "base/time/time.h"
#include "flow/layers/layer_tree.h"
#include "lib/ftl/macros.h"
#include "mojo/public/cpp/system/data_pipe.h"
#include "mojo/services/network/interfaces/url_loader.mojom.h"
#include "sky/engine/bindings/flutter_dart_state.h"
...
...
@@ -71,9 +70,7 @@ class SkyView : public WindowClient, public IsolateClient {
std
::
string
country_code_
;
std
::
unique_ptr
<
DartController
>
dart_controller_
;
base
::
WeakPtrFactory
<
SkyView
>
weak_factory_
;
DISALLOW_COPY_AND_ASSIGN
(
SkyView
);
FTL_DISALLOW_COPY_AND_ASSIGN
(
SkyView
);
};
}
// namespace blink
...
...
sky/engine/wtf/BUILD.gn
浏览文件 @
1c68b123
...
...
@@ -187,6 +187,10 @@ component("wtf") {
direct_dependent_configs = [ "//sky/engine:features" ]
public_deps = [
"//lib/ftl",
]
deps = [
"//base",
"//third_party/icu",
...
...
sky/engine/wtf/dtoa/bignum.h
浏览文件 @
1c68b123
...
...
@@ -135,7 +135,7 @@ namespace double_conversion {
// The Bignum's value equals value(bigits_) * 2^(exponent_ * kBigitSize).
int
exponent_
;
DISALLOW_COPY_AND_ASSIGN
(
Bignum
);
FTL_
DISALLOW_COPY_AND_ASSIGN
(
Bignum
);
};
}
// namespace double_conversion
...
...
sky/engine/wtf/dtoa/double-conversion.h
浏览文件 @
1c68b123
...
...
@@ -355,7 +355,7 @@ namespace double_conversion {
const
int
max_leading_padding_zeroes_in_precision_mode_
;
const
int
max_trailing_padding_zeroes_in_precision_mode_
;
DISALLOW_IMPLICIT_CONSTRUCTORS
(
DoubleToStringConverter
);
FTL_
DISALLOW_IMPLICIT_CONSTRUCTORS
(
DoubleToStringConverter
);
};
...
...
@@ -367,7 +367,7 @@ namespace double_conversion {
static
double
StringToDouble
(
const
char
*
buffer
,
size_t
length
,
size_t
*
processed_characters_count
);
private:
DISALLOW_IMPLICIT_CONSTRUCTORS
(
StringToDoubleConverter
);
FTL_
DISALLOW_IMPLICIT_CONSTRUCTORS
(
StringToDoubleConverter
);
};
}
// namespace double_conversion
...
...
sky/engine/wtf/dtoa/utils.h
浏览文件 @
1c68b123
...
...
@@ -29,7 +29,8 @@
#define SKY_ENGINE_WTF_DTOA_UTILS_H_
#include <string.h>
#include "base/macros.h"
#include "lib/ftl/macros.h"
#include "sky/engine/wtf/Assertions.h"
#define UNIMPLEMENTED ASSERT_NOT_REACHED
...
...
@@ -220,7 +221,7 @@ namespace double_conversion {
bool
is_finalized
()
const
{
return
position_
<
0
;
}
DISALLOW_IMPLICIT_CONSTRUCTORS
(
StringBuilder
);
FTL_
DISALLOW_IMPLICIT_CONSTRUCTORS
(
StringBuilder
);
};
// The type-based aliasing rule allows the compiler to assume that pointers of
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录