Created
January 15, 2014 16:18
-
-
Save ds-hwang/8439180 to your computer and use it in GitHub Desktop.
fix for component build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/content/browser/vibration/vibration_message_filter.cc b/content/browser/vibration/vibration_message_filter.cc | |
index 3855aca..4ba86fc 100644 | |
--- a/content/browser/vibration/vibration_message_filter.cc | |
+++ b/content/browser/vibration/vibration_message_filter.cc | |
@@ -60,10 +60,8 @@ void VibrationMessageFilter::OnCancelVibration() { | |
provider_->CancelVibration(); | |
} | |
-#if !defined(OS_ANDROID) && !defined(OS_TIZEN_MOBILE) | |
// static | |
VibrationProvider* VibrationMessageFilter::CreateProvider() { | |
return NULL; | |
} | |
-#endif | |
} // namespace content | |
diff --git a/tizen/browser/vibration/vibration_provider_tizen.cc b/tizen/browser/vibration/vibration_provider_tizen.cc | |
index b64aa7f..b635002 100644 | |
--- a/tizen/browser/vibration/vibration_provider_tizen.cc | |
+++ b/tizen/browser/vibration/vibration_provider_tizen.cc | |
@@ -39,10 +39,3 @@ void VibrationProviderTizen::CancelVibration() { | |
} // namespace xwalk | |
-namespace content { | |
-// static | |
-VibrationProvider* VibrationMessageFilter::CreateProvider() { | |
- return new xwalk::VibrationProviderTizen(); | |
-} | |
- | |
-} // namespace content |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment