resource = cache->resourceForURL(fallbackURL);
ASSERT(resource);
+#if ENABLE(TIZEN_DAILY_UPVERSIONING)
+ if (!resource)
+ return false;
+#endif
+
return true;
}
shouldEnable = m_hitTestResult.mediaHasAudio();
shouldCheck = shouldEnable && m_hitTestResult.mediaMuted();
break;
+#if ENABLE(TIZEN_DAILY_UPVERSIONING)
+ default:
+ break;
+#endif
}
item.setChecked(shouldCheck);
callbacks->didReadMetadata(metadata);
}
+/*
+// Defined but not used.
static void performDidReadDirectoryEntryCallback(ScriptExecutionContext*, AsyncFileSystemCallbacks* callbacks, const String& name, bool isDirectory)
{
callbacks->didReadDirectoryEntry(name, isDirectory);
{
callbacks->didReadDirectoryEntries(true);
}
+*/
static void performDidReadDirectoryEntriesAndFinishedCallback(ScriptExecutionContext*, PassOwnPtr<AsyncFileSystemCallbacks> callbacks)
{
MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer(MediaPlayer* player)
: m_player(player)
, m_webkitVideoSink(0)
+#if ENABLE(TIZEN_GSTREAMER_VIDEO)
+ , m_videoSinkBin(0)
+#endif
, m_fpsSink(0)
, m_source(0)
, m_seekTime(0)
, m_audioTimerHandler(0)
, m_videoTimerHandler(0)
, m_webkitAudioSink(0)
+ , m_totalBytes(-1)
#if ENABLE(TIZEN_ACCELERATED_COMPOSITING) && USE(TIZEN_TEXTURE_MAPPER)
, m_videoLayer(VideoLayerTizen::create(static_cast<HTMLMediaElement*>(player->mediaPlayerClient())))
#endif // ENABLE(TIZEN_ACCELERATED_COMPOSITING) && USE(TIZEN_TEXTURE_MAPPER)
#if ENABLE(TIZEN_GSTREAMER_AUDIO)
, m_audioSessionManager(AudioSessionManagerGStreamerTizen::createAudioSessionManager())
#endif
- , m_totalBytes(-1)
, m_originalPreloadWasAutoAndWasOverridden(false)
, m_preservesPitch(false)
#if ENABLE(TIZEN_GSTREAMER_VIDEO)
, m_suspendTime(0)
- , m_videoSinkBin(0)
#endif
{
}
FloatRect HarfBuzzShaper::selectionRect(const FloatPoint& point, int height, int from, int to)
{
float currentX = 0;
+#if ENABLE(TIZEN_DAILY_UPVERSIONING)
+ float fromX = 0;
+ float toX = 0;
+#else
float fromX;
float toX;
+#endif
bool foundFromX = false;
bool foundToX = false;