Skip to content

Instantly share code, notes, and snippets.

@ds-hwang
Created January 15, 2014 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ds-hwang/8439180 to your computer and use it in GitHub Desktop.
Save ds-hwang/8439180 to your computer and use it in GitHub Desktop.
fix for component build
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