| Index: services/dart/dart_app.cc
|
| diff --git a/services/dart/dart_app.cc b/services/dart/dart_app.cc
|
| index 4ac0d253038dfd1695e17c56aa6c895f41997502..029e86fa82ff9c13c2806ea2c70357b2d8e56da9 100644
|
| --- a/services/dart/dart_app.cc
|
| +++ b/services/dart/dart_app.cc
|
| @@ -26,18 +26,12 @@ DartApp::DartApp(mojo::InterfaceRequest<Application> application_request,
|
| bool strict)
|
| : application_request_(application_request.Pass()),
|
| application_dir_(application_dir) {
|
| - base::FilePath package_root = application_dir_.AppendASCII("packages");
|
| - base::FilePath entry_path = application_dir_.Append("lib")
|
| - .Append("main.dart");
|
| base::FilePath snapshot_path = application_dir_.Append("snapshot_blob.bin");
|
|
|
| // Look for snapshot_blob.bin. If exists, then load from snapshot.
|
| if (base::PathExists(snapshot_path)) {
|
| config_.script_uri = snapshot_path.AsUTF8Unsafe();
|
| config_.package_root = "";
|
| - } else if (base::PathExists(entry_path)) {
|
| - config_.script_uri = entry_path.AsUTF8Unsafe();
|
| - config_.package_root = package_root.AsUTF8Unsafe();
|
| } else {
|
| LOG(ERROR) << "Dart entry point could not be found under: "
|
| << application_dir_.AsUTF8Unsafe();
|
|
|